[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [51036] trunk/blender/release/scripts/ startup/bl_ui/properties_animviz.py: Bugfix [#32754] Clear Motion paths button not available on Motion paths panel

Joshua Leung aligorith at gmail.com
Thu Oct 4 13:05:48 CEST 2012


Revision: 51036
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=51036
Author:   aligorith
Date:     2012-10-04 11:05:48 +0000 (Thu, 04 Oct 2012)
Log Message:
-----------
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.

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_ui/properties_animviz.py

Modified: trunk/blender/release/scripts/startup/bl_ui/properties_animviz.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_animviz.py	2012-10-04 10:58:03 UTC (rev 51035)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_animviz.py	2012-10-04 11:05:48 UTC (rev 51036)
@@ -65,10 +65,13 @@
             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')




More information about the Bf-blender-cvs mailing list