[Bf-blender-cvs] [c5acc7ae36a] greasepencil-object: Hide Mask Icon in Layer list

Antonioya noreply at git.blender.org
Sun Nov 25 14:18:24 CET 2018


Commit: c5acc7ae36af44dc0a197ae7f0b5be7ce8761dfb
Author: Antonioya
Date:   Sun Nov 25 14:17:04 2018 +0100
Branches: greasepencil-object
https://developer.blender.org/rBc5acc7ae36af44dc0a197ae7f0b5be7ce8761dfb

Hide Mask Icon in Layer list

By default is off and it's something that is using too much space

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

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 3550bcdf3c8..14f59d0b369 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -865,10 +865,6 @@ class GPENCIL_UL_layer(UIList):
                 layout.active = False
 
             row = layout.row(align=True)
-            row.label(
-                text="",
-                icon='MOD_MASK' if gpl.blend_mode != 'NORMAL' and gpl.disable_mask else 'BLANK1'
-            )
             row.label(
                 text="",
                 icon='BONE_DATA' if gpl.is_parented else 'BLANK1',



More information about the Bf-blender-cvs mailing list