Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2020-02-05 21:46:21 +0300
committerAntonio Vazquez <blendergit@gmail.com>2020-02-05 21:46:21 +0300
commit742c5a0018bd7d2df53d12ceeeba038450eaabae (patch)
tree95704a1f35065ca82aac94ed0944c1e2b090c13e /release
parent3883ffbefb67c379c1f21a3b7cf5f1c661914816 (diff)
GPencil: Initial implementation of the layer mask relationship
Now, there is a new parameter to define the mask used by layer. Still pending to remove old `use_mask` property in C and python (not removed yet to keep running the masking UI).
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/properties_data_gpencil.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_gpencil.py b/release/scripts/startup/bl_ui/properties_data_gpencil.py
index 192b68e6c10..02745874283 100644
--- a/release/scripts/startup/bl_ui/properties_data_gpencil.py
+++ b/release/scripts/startup/bl_ui/properties_data_gpencil.py
@@ -174,6 +174,8 @@ class DATA_PT_gpencil_layers(DataButtonsPanel, Panel):
if not gpl.mask_layer:
col = layout.row(align=True)
col.prop(gpl, "blend_mode", text="Blend")
+ col = layout.row(align=True)
+ col.prop_search(gpl, "mask_layer_name", gpd, "layers", icon='GREASEPENCIL')
col = layout.row(align=True)
col.prop(gpl, "opacity", text="Opacity", slider=True)