[Bf-blender-cvs] [117fc08e519] greasepencil-refactor: GPencil: Change icons for Invert Mask: ON/OFF
Antonio Vazquez
noreply at git.blender.org
Tue Feb 11 15:26:04 CET 2020
Commit: 117fc08e51926cdd425aec23c6491cd33ee1de58
Author: Antonio Vazquez
Date: Tue Feb 11 15:25:50 2020 +0100
Branches: greasepencil-refactor
https://developer.blender.org/rB117fc08e51926cdd425aec23c6491cd33ee1de58
GPencil: Change icons for Invert Mask: ON/OFF
===================================================================
M release/scripts/startup/bl_ui/properties_grease_pencil_common.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
index d540eab7dab..92c7b2bdc4a 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -776,7 +776,7 @@ class GPENCIL_UL_masks(UIList):
if self.layout_type in {'DEFAULT', 'COMPACT'}:
row = layout.row(align=True)
row.prop(mask, "name", text="", emboss=False, icon_value=icon)
- icon_mask = 'HOLDOUT_ON' if mask.invert else 'MOD_MASK'
+ icon_mask = 'HOLDOUT_ON' if mask.invert else 'HOLDOUT_OFF'
row.prop(mask, "invert", text="", emboss=False, icon=icon_mask)
row.prop(mask, "hide", text="", emboss=False)
elif self.layout_type == 'GRID':
More information about the Bf-blender-cvs
mailing list