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>2014-02-14 15:08:54 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-02-14 15:09:21 +0400
commit32b45cb4a7adeae637e02c3a8da87e28844e587f (patch)
tree4c8d4a2bd7dcdd3722aceaf3dd4af13d4f66adfa /release/scripts/startup/bl_ui/properties_mask_common.py
parent80e21f6fc58c40a51bc9ea55162ee55001bc3efc (diff)
Fix for "Show Overlay" for masks always grayed out
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_mask_common.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_mask_common.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/release/scripts/startup/bl_ui/properties_mask_common.py b/release/scripts/startup/bl_ui/properties_mask_common.py
index a19f42584bb..b98332fab19 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():