diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2019-09-10 18:37:27 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2019-09-10 18:41:23 +0300 |
commit | 0174185e2fb75b2b7825e8d6e1bbe2b0babfa90d (patch) | |
tree | 80b573bea8f862bb7d035c9bd5ee0bab1120ee68 /source/blender/makesrna/intern | |
parent | 8f55794c0e803ec5454febe2e45651c721f62c8f (diff) |
GPencil: New Simplify Tint option
This is useful to disable all layers tint in one step and it will be used for future operators.
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r-- | source/blender/makesrna/intern/rna_scene.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index 3758bd6b0ac..a91f703cbd0 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -6341,6 +6341,11 @@ static void rna_def_scene_render_data(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Layers Blending", "Do not display blend layers"); RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update"); + prop = RNA_def_property(srna, "simplify_gpencil_tint", PROP_BOOLEAN, PROP_NONE); + RNA_def_property_boolean_sdna(prop, NULL, "simplify_gpencil", SIMPLIFY_GPENCIL_TINT); + RNA_def_property_ui_text(prop, "Layers Tinting", "Do not display layer tint"); + RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update"); + /* persistent data */ prop = RNA_def_property(srna, "use_persistent_data", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "mode", R_PERSISTENT_DATA); |