[Bf-blender-cvs] [32b45cb] master: Fix for "Show Overlay" for masks always grayed out

Sergey Sharybin noreply at git.blender.org
Fri Feb 14 12:09:31 CET 2014


Commit: 32b45cb4a7adeae637e02c3a8da87e28844e587f
Author: Sergey Sharybin
Date:   Fri Feb 14 17:08:54 2014 +0600
https://developer.blender.org/rB32b45cb4a7adeae637e02c3a8da87e28844e587f

Fix for "Show Overlay" for masks always grayed out

===================================================================

M	release/scripts/startup/bl_ui/properties_mask_common.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/properties_mask_common.py b/release/scripts/startup/bl_ui/properties_mask_common.py
index a19f425..b98332f 100644
--- a/release/scripts/startup/bl_ui/properties_mask_common.py
+++ b/release/scripts/startup/bl_ui/properties_mask_common.py
@@ -220,15 +220,14 @@ class MASK_PT_display():
         layout = self.layout
 
         space_data = context.space_data
-        col = layout.column(align=True)
-        row = col.row(align=True)
+        row = layout.row(align=True)
         row.prop(space_data, "show_mask_smooth", text="Smooth")
         row.prop(space_data, "mask_draw_type", text="")
-        col = layout.column(align=True)
-        row = col.row(align=True)
+        row = layout.row(align=True)
         row.prop(space_data, "show_mask_overlay", text="Overlay")
-        row.active = space_data.show_mask_overlay
-        row.prop(space_data, "mask_overlay_mode", text="")
+        sub = row.row()
+        sub.active = space_data.show_mask_overlay
+        sub.prop(space_data, "mask_overlay_mode", text="")
 
 
 class MASK_PT_transforms():




More information about the Bf-blender-cvs mailing list