diff options
author | Falk David <falkdavid@gmx.de> | 2021-05-26 19:23:25 +0300 |
---|---|---|
committer | Falk David <falkdavid@gmx.de> | 2021-05-26 19:23:31 +0300 |
commit | de3d54eb9a4fa9ddb1046190ba13daacc4f1dea1 (patch) | |
tree | 429dd54cb85760e031c3862592476398f0bf419d /source/blender/makesrna | |
parent | df32b50344a012ecfb3749c577b1e9e1867dedb3 (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 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_gpencil.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_gpencil.c b/source/blender/makesrna/intern/rna_gpencil.c index 01f564cb272..5f865f9d4cd 100644 --- a/source/blender/makesrna/intern/rna_gpencil.c +++ b/source/blender/makesrna/intern/rna_gpencil.c @@ -2114,10 +2114,10 @@ static void rna_def_gpencil_layer(BlenderRNA *brna) "ViewLayer", "Only include Layer in this View Layer render output (leave blank to include always)"); - prop = RNA_def_property(srna, "disable_masks_viewlayer", PROP_BOOLEAN, PROP_NONE); - RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_LAYER_DISABLE_MASKS_IN_VIEWLAYER); + prop = RNA_def_property(srna, "use_viewlayer_masks", PROP_BOOLEAN, PROP_NONE); + RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", GP_LAYER_DISABLE_MASKS_IN_VIEWLAYER); RNA_def_property_ui_text( - prop, "Disable Masks in Render", "Exclude the mask layers when rendering the viewlayer"); + prop, "Use Masks in Render", "Include the mask layers when rendering the viewlayer"); RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update"); /* blend mode */ |