there was no way to reset timing for absolute shape keys, add an operator to do so.
This commit is contained in:
@@ -233,7 +233,10 @@ class DATA_PT_shape_keys(MeshButtonsPanel, Panel):
|
||||
sub.prop(ob, "use_shape_key_edit_mode", text="")
|
||||
|
||||
sub = row.row()
|
||||
sub.operator("object.shape_key_clear", icon='X', text="")
|
||||
if key.use_relative:
|
||||
sub.operator("object.shape_key_clear", icon='X', text="")
|
||||
else:
|
||||
sub.operator("object.shape_key_retime", icon='RECOVER_LAST', text="")
|
||||
|
||||
row = layout.row()
|
||||
row.prop(kb, "name")
|
||||
|
Reference in New Issue
Block a user