MCE: usability improvement
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 19 Aug 2013 11:24:35 +0000 (11:24 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 19 Aug 2013 11:24:35 +0000 (11:24 +0000)
Align Clear Before/After into a row and remove
Clear button (which wasn't actually used by
artists).

release/scripts/startup/bl_ui/space_clip.py

index 04584855ed325d1368021ddc15a11780f3116112..f5ee29ba7d88e707273dd99566059e946e339077 100644 (file)
@@ -300,13 +300,14 @@ class CLIP_PT_tools_tracking(CLIP_PT_tracking_panel, Panel):
         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")
-        props.action = 'REMAINED'
-
-        props = col.operator("clip.clear_track_path", text="Clear Before")
+        col = layout.column()
+        col.label(text="Clear:")
+        row = col.row(align=True)
+        props = row.operator("clip.clear_track_path", text="Before")
         props.action = 'UPTO'
-        col.operator("clip.clear_track_path", text="Clear").action = 'ALL'
+
+        props = row.operator("clip.clear_track_path", text="After")
+        props.action = 'REMAINED'
 
         layout.operator("clip.join_tracks", text="Join")