diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2020-02-05 21:46:21 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2020-02-05 21:46:21 +0300 |
commit | 742c5a0018bd7d2df53d12ceeeba038450eaabae (patch) | |
tree | 95704a1f35065ca82aac94ed0944c1e2b090c13e /release | |
parent | 3883ffbefb67c379c1f21a3b7cf5f1c661914816 (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.py | 2 |
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) |