[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [59406] trunk/blender/release/scripts/ startup/bl_ui: Tracking cleanup

Sergey Sharybin sergey.vfx at gmail.com
Fri Aug 23 11:40:43 CEST 2013


Revision: 59406
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=59406
Author:   nazgul
Date:     2013-08-23 09:40:42 +0000 (Fri, 23 Aug 2013)
Log Message:
-----------
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.

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

Modified: trunk/blender/release/scripts/startup/bl_ui/properties_mask_common.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_mask_common.py	2013-08-23 09:10:23 UTC (rev 59405)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_mask_common.py	2013-08-23 09:40:42 UTC (rev 59406)
@@ -31,10 +31,8 @@
         # 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)

Modified: trunk/blender/release/scripts/startup/bl_ui/space_clip.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_clip.py	2013-08-23 09:10:23 UTC (rev 59405)
+++ trunk/blender/release/scripts/startup/bl_ui/space_clip.py	2013-08-23 09:40:42 UTC (rev 59406)
@@ -316,6 +316,7 @@
     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 @@
     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 @@
 
         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")




More information about the Bf-blender-cvs mailing list