Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Salazar <zanqdo@gmail.com>2022-06-19 02:21:29 +0300
committerDaniel Salazar <zanqdo@gmail.com>2022-06-19 02:21:29 +0300
commitb228db8ba00baada4959f9ae552c61979942805f (patch)
tree50b6c656fee4fa41e322c74d60220fcb3b729c55 /animation_animall.py
parent5902265f1e5aaeca3781ea15f994bdf0b3cb054d (diff)
AnimAll: More UI tweaks
Diffstat (limited to 'animation_animall.py')
-rw-r--r--animation_animall.py20
1 files changed, 13 insertions, 7 deletions
diff --git a/animation_animall.py b/animation_animall.py
index 79e953f9..920f3177 100644
--- a/animation_animall.py
+++ b/animation_animall.py
@@ -129,25 +129,29 @@ class VIEW3D_PT_animall(Panel):
bl_space_type = 'VIEW_3D'
bl_region_type = 'UI'
bl_category = "Animate"
- bl_label = 'AnimAll'
+ bl_label = ''
@classmethod
def poll(self, context):
return context.active_object and context.active_object.type in {'MESH', 'LATTICE', 'CURVE', 'SURFACE'}
+ def draw_header(self, context):
+
+ layout = self.layout
+ row = layout.row()
+ row.label (text = 'AnimAll', icon = 'ARMATURE_DATA')
+
def draw(self, context):
obj = context.active_object
animall_properties = context.scene.animall_properties
layout = self.layout
+ layout.label(text='Key:')
+
layout.use_property_split = True
layout.use_property_decorate = False
- split = layout.split(factor=0.4, align=True)
- split.label(text='')
- split.label(text=' Key:')
-
if obj.type == 'LATTICE':
col = layout.column(align=True)
col.prop(animall_properties, "key_point_location")
@@ -210,8 +214,10 @@ class VIEW3D_PT_animall(Panel):
if animall_properties.key_point_location:
col.label(text='"Location" and "Shape Key" are redundant?', icon="INFO")
- col = layout.column(align=True)
- col.prop(animall_properties, "key_selected")
+ layout.use_property_split = False
+ layout.separator()
+ row = layout.row()
+ row.prop(animall_properties, "key_selected")
row = layout.row(align=True)
row.operator("anim.insert_keyframe_animall", icon="KEY_HLT")