Skip to content
Snippets Groups Projects
Commit 39790a27 authored by Daniel Salazar's avatar Daniel Salazar
Browse files

AnimAll: Enable keying of shapekeys on bezier curves (Thanks to Aligorith for...

AnimAll: Enable keying of shapekeys on bezier curves (Thanks to Aligorith for yet another API fix!). Also one extra effort to make the use of shapekey animation clearer.
parent bbfd5232
No related branches found
No related tags found
No related merge requests found
...@@ -128,7 +128,7 @@ class VIEW3D_PT_animall(bpy.types.Panel): ...@@ -128,7 +128,7 @@ class VIEW3D_PT_animall(bpy.types.Panel):
elif Obj.type == 'CURVE': elif Obj.type == 'CURVE':
row.prop(context.window_manager, "key_points") row.prop(context.window_manager, "key_points")
#row.prop(context.window_manager, "key_shape") row.prop(context.window_manager, "key_shape")
row = col.row() row = col.row()
row.prop(context.window_manager, "key_radius") row.prop(context.window_manager, "key_radius")
row.prop(context.window_manager, "key_tilt") row.prop(context.window_manager, "key_tilt")
...@@ -158,6 +158,9 @@ class VIEW3D_PT_animall(bpy.types.Panel): ...@@ -158,6 +158,9 @@ class VIEW3D_PT_animall(bpy.types.Panel):
row.label(ShapeKey.name, icon='SHAPEKEY_DATA') row.label(ShapeKey.name, icon='SHAPEKEY_DATA')
row.prop(ShapeKey, "value", text="") row.prop(ShapeKey, "value", text="")
row.prop(Obj, "show_only_shape_key", text="") row.prop(Obj, "show_only_shape_key", text="")
if ShapeKey.value < 1:
row = layout.row()
row.label('Maybe set "%s" to 1.0?' % ShapeKey.name, icon='INFO')
elif ShapeKey: elif ShapeKey:
row.label('Can not key on Basis Shape', icon='ERROR') row.label('Can not key on Basis Shape', icon='ERROR')
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment