GPencil: Rename "Clamp Layer" to "Mask Layer"
The old name was not meaning what this option does. Dtected while writting the manual.
This commit is contained in:
@@ -137,8 +137,8 @@ class DATA_PT_gpencil_layers(DataButtonsPanel, Panel):
|
||||
|
||||
srow = col.row(align=True)
|
||||
srow.prop(gpl, "opacity", text="Opacity", slider=True)
|
||||
srow.prop(gpl, "clamp_layer", text="",
|
||||
icon='MOD_MASK' if gpl.clamp_layer else 'LAYER_ACTIVE')
|
||||
srow.prop(gpl, "mask_layer", text="",
|
||||
icon='MOD_MASK' if gpl.mask_layer else 'LAYER_ACTIVE')
|
||||
|
||||
srow = col.row(align=True)
|
||||
srow.prop(gpl, "use_solo_mode", text="Show Only On Keyframed")
|
||||
|
||||
@@ -902,8 +902,8 @@ class GPENCIL_UL_layer(UIList):
|
||||
row.prop(gpl, "info", text="", emboss=False)
|
||||
|
||||
row = layout.row(align=True)
|
||||
row.prop(gpl, "clamp_layer", text="",
|
||||
icon='MOD_MASK' if gpl.clamp_layer else 'LAYER_ACTIVE',
|
||||
row.prop(gpl, "mask_layer", text="",
|
||||
icon='MOD_MASK' if gpl.mask_layer else 'LAYER_ACTIVE',
|
||||
emboss=False)
|
||||
|
||||
row.prop(gpl, "lock", text="", emboss=False)
|
||||
|
||||
@@ -120,8 +120,8 @@ class TOPBAR_PT_gpencil_layers(Panel):
|
||||
|
||||
srow = col.row(align=True)
|
||||
srow.prop(gpl, "opacity", text="Opacity", slider=True)
|
||||
srow.prop(gpl, "clamp_layer", text="",
|
||||
icon='MOD_MASK' if gpl.clamp_layer else 'LAYER_ACTIVE')
|
||||
srow.prop(gpl, "mask_layer", text="",
|
||||
icon='MOD_MASK' if gpl.mask_layer else 'LAYER_ACTIVE')
|
||||
|
||||
srow = col.row(align=True)
|
||||
srow.prop(gpl, "use_solo_mode", text="Show Only On Keyframed")
|
||||
|
||||
Reference in New Issue
Block a user