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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-04-05 10:10:15 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-04-05 10:10:15 +0400
commit2a54ef044258f8f5555c718a018371c1aedccb5e (patch)
treec904dbc88dbb084e8b6c3ba432eaaebda73a791d /release
parentf4ccee2785f91efd4acceeae0713b93b7afaeccd (diff)
there was no way to reset timing for absolute shape keys, add an operator to do so.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/properties_data_mesh.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_mesh.py b/release/scripts/startup/bl_ui/properties_data_mesh.py
index 2e485a42968..fd96fa4a0ce 100644
--- a/release/scripts/startup/bl_ui/properties_data_mesh.py
+++ b/release/scripts/startup/bl_ui/properties_data_mesh.py
@@ -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")