diff options
author | Antonioya <blendergit@gmail.com> | 2018-11-26 20:12:39 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-11-26 20:12:39 +0300 |
commit | 99f7934e19ddf6796e866d2ddc0c3882ed8fcc2b (patch) | |
tree | 45e39dc690fd17f989bceac35e8ecf794417af34 /source/blender/makesrna/intern/rna_scene.c | |
parent | c0816cd03b42399e75a285d5e5dd1319e5054f17 (diff) |
GP: New Blend Layers functionality
Now it's possible define the blend mode between layers including the option to clamp the layer using underlying layers.
Also a new Simplify option has been added to disable blend layers.
Diffstat (limited to 'source/blender/makesrna/intern/rna_scene.c')
-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 eeb48b67d28..9d943dca9ec 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -5344,6 +5344,11 @@ static void rna_def_scene_render_data(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Simplify Shaders", "Do not apply shader fx"); RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update"); + prop = RNA_def_property(srna, "simplify_gpencil_blend", PROP_BOOLEAN, PROP_NONE); + RNA_def_property_boolean_sdna(prop, NULL, "simplify_gpencil", SIMPLIFY_GPENCIL_BLEND); + 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"); + /* 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); |