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:
authorSergey Sharybin <sergey.vfx@gmail.com>2013-08-19 15:24:35 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2013-08-19 15:24:35 +0400
commit400bd9bfba680d08b84af75e43831a1f6ebfa5f4 (patch)
tree49550444a625ba41e626a74be3efaf986b883f80 /release
parent26c34fc29fe9c6d40ae085b592debf4bbb3c33ec (diff)
MCE: usability improvement
Align Clear Before/After into a row and remove Clear button (which wasn't actually used by artists).
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_clip.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/release/scripts/startup/bl_ui/space_clip.py b/release/scripts/startup/bl_ui/space_clip.py
index 04584855ed3..f5ee29ba7d8 100644
--- a/release/scripts/startup/bl_ui/space_clip.py
+++ b/release/scripts/startup/bl_ui/space_clip.py
@@ -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")