curve_assign_shapekey: fix tab activation order: minor ui changes: T70017

This commit is contained in:
Brendon Murphy 2019-09-23 16:36:16 +10:00
parent f6d7743365
commit 9c6af4bd92
1 changed files with 6 additions and 5 deletions

View File

@ -23,8 +23,8 @@ from bpy.types import Panel, Operator, AddonPreferences
bl_info = {
"name": "Assign Shape Keys",
"author": "Shrinivas Kulkarni",
"version": (1, 0, 0),
"location": "View 3D > Sidebar > Create Tab",
"version": (1, 0, 1),
"location": "View 3D > Sidebar > Edit Tab",
"description": "Assigns one or more Bezier curves as shape keys to another Bezier curve",
"category": "Add Curve",
"wiki_url": "https://github.com/Shriinivas/assignshapekey/blob/master/README.md",
@ -1036,11 +1036,11 @@ class AssignShapeKeyParams(bpy.types.PropertyGroup):
class AssignShapeKeysPanel(Panel):
bl_label = "Assign Shape Keys"
bl_label = "Curve Shape Keys"
bl_idname = "CURVE_PT_assign_shape_keys"
bl_space_type = 'VIEW_3D'
bl_region_type = 'UI'
bl_category = "Create"
bl_category = "Edit"
bl_options = {'DEFAULT_CLOSED'}
@classmethod
@ -1050,6 +1050,7 @@ class AssignShapeKeysPanel(Panel):
def draw(self, context):
layout = self.layout
layout.label(text='Morph Curves:')
col = layout.column()
params = context.window_manager.AssignShapeKeyParams
@ -1103,7 +1104,7 @@ class AssignShapeKeysPreferences(AddonPreferences):
category: StringProperty(
name = "Tab Category",
description = "Choose a name for the category of the panel",
default = "Create",
default = "Edit",
update = updatePanel
)