diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-08-23 13:40:42 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-08-23 13:40:42 +0400 |
commit | 9f72bf78652ec7e8e586dbe3b5b648bce8a1cfc6 (patch) | |
tree | 96ef60e6a73536b4c9e74283487925c56cffff2d /release/scripts | |
parent | a734ddc506197d2a0f266d3a6dfeccc94bda5669 (diff) |
Tracking cleanup
- Collapse plane track panels by default
- Hide 3D markers when in mask edit mode
- Remove alpha from mask layers list
Discussed with Sebastian and Roman.
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_mask_common.py | 6 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/space_clip.py | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_ui/properties_mask_common.py b/release/scripts/startup/bl_ui/properties_mask_common.py index 9f72d7a6d88..4e45b20e76f 100644 --- a/release/scripts/startup/bl_ui/properties_mask_common.py +++ b/release/scripts/startup/bl_ui/properties_mask_common.py @@ -31,10 +31,8 @@ class MASK_UL_layers(UIList): # assert(isinstance(item, bpy.types.MaskLayer) mask = item if self.layout_type in {'DEFAULT', 'COMPACT'}: - split = layout.split() - split.label(text=mask.name, translate=False, icon_value=icon) - row = split.row(align=True) - row.prop(mask, "alpha", text="", emboss=False) + layout.label(text=mask.name, translate=False, icon_value=icon) + row = layout.row(align=True) row.prop(mask, "hide", text="", emboss=False) row.prop(mask, "hide_select", text="", emboss=False) row.prop(mask, "hide_render", text="", emboss=False) diff --git a/release/scripts/startup/bl_ui/space_clip.py b/release/scripts/startup/bl_ui/space_clip.py index f5ee29ba7d8..a75130a6605 100644 --- a/release/scripts/startup/bl_ui/space_clip.py +++ b/release/scripts/startup/bl_ui/space_clip.py @@ -316,6 +316,7 @@ class CLIP_PT_tools_plane_tracking(CLIP_PT_tracking_panel, Panel): bl_space_type = 'CLIP_EDITOR' bl_region_type = 'TOOLS' bl_label = "Plane Track" + bl_options = {'DEFAULT_CLOSED'} def draw(self, context): layout = self.layout @@ -594,6 +595,7 @@ class CLIP_PT_plane_track(CLIP_PT_tracking_panel, Panel): bl_space_type = 'CLIP_EDITOR' bl_region_type = 'UI' bl_label = "Plane Track" + bl_options = {'DEFAULT_CLOSED'} def draw(self, context): layout = self.layout @@ -718,7 +720,8 @@ class CLIP_PT_display(CLIP_PT_clip_view_panel, Panel): col.prop(sc, "show_disabled", "Disabled Tracks") col.prop(sc, "show_names", text="Names and Status") - col.prop(sc, "show_bundles", text="3D Markers") + if sc.mode != 'MASK': + col.prop(sc, "show_bundles", text="3D Markers") col.prop(sc, "use_mute_footage", text="Mute Footage") col.prop(sc, "lock_selection") |