diff options
author | Antonioya <blendergit@gmail.com> | 2019-06-28 15:24:23 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-06-28 15:24:23 +0300 |
commit | dee6fe1441aeb875bcebb8c363ade4e2db4c888e (patch) | |
tree | 0931c86822e4df6670320c6e4b499daa778bd972 /release/scripts/startup/bl_ui | |
parent | 4f3f68df300539472264412f3b79e1024f70eb0d (diff) |
GPencil: Rename "Clamp Layer" to "Mask Layer"
The old name was not meaning what this option does. Dtected while writting the manual.
Diffstat (limited to 'release/scripts/startup/bl_ui')
3 files changed, 6 insertions, 6 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_gpencil.py b/release/scripts/startup/bl_ui/properties_data_gpencil.py index 44a7990d570..de438050b69 100644 --- a/release/scripts/startup/bl_ui/properties_data_gpencil.py +++ b/release/scripts/startup/bl_ui/properties_data_gpencil.py @@ -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") 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 33d41da192b..112fb4361d6 100644 --- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py +++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py @@ -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) diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py index 35c4a5ec5a1..7afb417792c 100644 --- a/release/scripts/startup/bl_ui/space_topbar.py +++ b/release/scripts/startup/bl_ui/space_topbar.py @@ -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") |