UI: Update default mask icon
Based on the design of #102585, This PR replaces the MOD_MASK icon with the CLIP_UVDEHLT icon to better communicate the intent of masking across many areas of Blender. It also changes the Grease Pencil `invert` icons to avoid conflicts with the CLIPUV_DEHLT & CLIPUV_HLT. Pull Request: https://projects.blender.org/blender/blender/pulls/117467
This commit is contained in:
@@ -669,7 +669,7 @@ class GPENCIL_UL_layer(UIList):
|
||||
|
||||
row = layout.row(align=True)
|
||||
|
||||
icon_mask = 'MOD_MASK' if gpl.use_mask_layer else 'LAYER_ACTIVE'
|
||||
icon_mask = 'CLIPUV_DEHLT' if gpl.use_mask_layer else 'CLIPUV_HLT'
|
||||
|
||||
row.prop(gpl, "use_mask_layer", text="", icon=icon_mask, emboss=False)
|
||||
|
||||
|
||||
@@ -157,7 +157,7 @@ class TOPBAR_PT_gpencil_layers(Panel):
|
||||
srow = col.row(align=True)
|
||||
srow.prop(gpl, "opacity", text="Opacity", slider=True)
|
||||
srow.prop(gpl, "use_mask_layer", text="",
|
||||
icon='MOD_MASK' if gpl.use_mask_layer else 'LAYER_ACTIVE')
|
||||
icon='CLIPUV_DEHLT' if gpl.use_mask_layer else 'CLIPUV_HLT')
|
||||
|
||||
srow = col.row(align=True)
|
||||
srow.prop(gpl, "use_lights", text="Lights")
|
||||
|
||||
Reference in New Issue
Block a user