[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [59286] trunk/blender/release/scripts/ startup/bl_ui/space_clip.py: MCE: usability improvement

Sergey Sharybin sergey.vfx at gmail.com
Mon Aug 19 13:24:35 CEST 2013


Revision: 59286
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=59286
Author:   nazgul
Date:     2013-08-19 11:24:35 +0000 (Mon, 19 Aug 2013)
Log Message:
-----------
MCE: usability improvement

Align Clear Before/After into a row and remove
Clear button (which wasn't actually used by
artists).

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

Modified: trunk/blender/release/scripts/startup/bl_ui/space_clip.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_clip.py	2013-08-19 11:04:32 UTC (rev 59285)
+++ trunk/blender/release/scripts/startup/bl_ui/space_clip.py	2013-08-19 11:24:35 UTC (rev 59286)
@@ -300,14 +300,15 @@
         props = row.operator("clip.refine_markers", text="Forwards")
         props.backwards = False
 
-        col = layout.column(align=True)
-        props = col.operator("clip.clear_track_path", text="Clear After")
+        col = layout.column()
+        col.label(text="Clear:")
+        row = col.row(align=True)
+        props = row.operator("clip.clear_track_path", text="Before")
+        props.action = 'UPTO'
+
+        props = row.operator("clip.clear_track_path", text="After")
         props.action = 'REMAINED'
 
-        props = col.operator("clip.clear_track_path", text="Clear Before")
-        props.action = 'UPTO'
-        col.operator("clip.clear_track_path", text="Clear").action = 'ALL'
-
         layout.operator("clip.join_tracks", text="Join")
 
 




More information about the Bf-blender-cvs mailing list