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>2011-01-30 03:56:12 +0300
committerDaniel Salazar <zanqdo@gmail.com>2011-01-30 03:56:12 +0300
commitc7232394ddfbe17c244940bc40c0b5db2695ac31 (patch)
tree349815028751c795b822141b68b02da0b5780a8b /animation_animall.py
parent9e2c0ef6c46ae84c6393acd2b395195557ad57f3 (diff)
AnimAll: Users got a bit confused on how to use Shape animation. This should help
Diffstat (limited to 'animation_animall.py')
-rw-r--r--animation_animall.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/animation_animall.py b/animation_animall.py
index fc9001ca..fe970bc4 100644
--- a/animation_animall.py
+++ b/animation_animall.py
@@ -88,6 +88,9 @@ class VIEW3D_PT_animall(bpy.types.Panel):
# draw the gui
def draw(self, context):
+
+ Obj = context.active_object
+
layout = self.layout
col = layout.column(align=True)
@@ -106,6 +109,20 @@ class VIEW3D_PT_animall(bpy.types.Panel):
row.operator('anim.delete_keyframe_animall', icon='KEY_DEHLT')
row = layout.row()
row.operator('anim.clear_animation_animall', icon='X')
+
+ if context.window_manager.key_shape:
+
+ ShapeKey = Obj.active_shape_key
+
+ split = layout.split()
+ row = split.row()
+
+ if ShapeKey:
+ row.label(ShapeKey.name, icon='SHAPEKEY_DATA')
+ row.prop(ShapeKey, "value", text="")
+ row.prop(Obj, "show_only_shape_key", text="")
+ else:
+ row.label('No active ShapeKey', icon='INFO')
class ANIM_OT_insert_keyframe_animall(bpy.types.Operator):