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:
authorFalk David <falkdavid@gmx.de>2021-05-26 19:23:25 +0300
committerFalk David <falkdavid@gmx.de>2021-05-26 19:23:31 +0300
commitde3d54eb9a4fa9ddb1046190ba13daacc4f1dea1 (patch)
tree429dd54cb85760e031c3862592476398f0bf419d /release/scripts/startup/bl_ui/properties_grease_pencil_common.py
parentdf32b50344a012ecfb3749c577b1e9e1867dedb3 (diff)
GPencil: Cleanup - Conform with RNA naming scheme
The newly added `disable_masks_viewlayer` RNA property did not conform with the RNA naming scheme. This renames it to `use_viewlayer_masks`.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_grease_pencil_common.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_grease_pencil_common.py4
1 files changed, 2 insertions, 2 deletions
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 0111bdea8b1..b6d70049bb9 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -856,11 +856,11 @@ class GreasePencilLayerRelationsPanel:
col = layout.row(align=True)
col.prop_search(gpl, "viewlayer_render", scene, "view_layers", text="View Layer")
-
+
col = layout.row(align=True)
# Only enable this property when a view layer is selected.
col.enabled = bool(gpl.viewlayer_render)
- col.prop(gpl, "disable_masks_viewlayer")
+ col.prop(gpl, "use_viewlayer_masks")
class GreasePencilLayerDisplayPanel: