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:
authorJoshua Leung <aligorith@gmail.com>2012-10-04 15:05:48 +0400
committerJoshua Leung <aligorith@gmail.com>2012-10-04 15:05:48 +0400
commitb8231620a52092a1c5cb89e87f70931eee559070 (patch)
tree99315352cc5674c776903372c0367a68724c528f
parentd2833d9f0f1daa25f359e034b10bb4234c68a47d (diff)
Bugfix [#32754] Clear Motion paths button not available on Motion paths panel
On second thought, perhaps it is more convenient/natural if this was shown in both places, given that many people may only find the motion paths options through the UI now.
-rw-r--r--release/scripts/startup/bl_ui/properties_animviz.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/properties_animviz.py b/release/scripts/startup/bl_ui/properties_animviz.py
index 2d15c534e9f..8308c7fc425 100644
--- a/release/scripts/startup/bl_ui/properties_animviz.py
+++ b/release/scripts/startup/bl_ui/properties_animviz.py
@@ -65,10 +65,13 @@ class MotionPathButtonsPanel():
sub.prop(mpath, "frame_start", text="From")
sub.prop(mpath, "frame_end", text="To")
+ sub = col.row(align=True)
if bones:
- col.operator("pose.paths_update", text="Update Paths", icon='BONE_DATA')
+ sub.operator("pose.paths_update", text="Update Paths", icon='BONE_DATA')
+ sub.operator("pose.paths_clear", text="", icon='X')
else:
- col.operator("object.paths_update", text="Update Paths", icon='OBJECT_DATA')
+ sub.operator("object.paths_update", text="Update Paths", icon='OBJECT_DATA')
+ sub.operator("object.paths_clear", text="", icon='X')
else:
sub = col.column(align=True)
sub.label(text="Nothing to show yet...", icon='ERROR')