diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-04-01 11:22:06 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-04-01 15:30:42 +0300 |
commit | a2a571987c6f6a1caee57057cfed18896b786c5b (patch) | |
tree | d6ed9f66bc7327c4c0ff923a9f1e94586abd38a0 /source/blender/makesrna/intern/rna_shader_fx.c | |
parent | 90638d850de076dab20554b15b37ef9d0b71f8ea (diff) |
Fix T62960: Expanding/Closing Constraints/Modifiers causes re-render
Mark specific properties as no-dependency-graph tag.
This is needed to avoid a centralized Copy-on-Write tag from RNA
pointer update.
Diffstat (limited to 'source/blender/makesrna/intern/rna_shader_fx.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_shader_fx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_shader_fx.c b/source/blender/makesrna/intern/rna_shader_fx.c index 78a21b71fbf..41e87f6d121 100644 --- a/source/blender/makesrna/intern/rna_shader_fx.c +++ b/source/blender/makesrna/intern/rna_shader_fx.c @@ -683,6 +683,7 @@ void RNA_def_shader_fx(BlenderRNA *brna) RNA_def_property_ui_icon(prop, ICON_EDITMODE_HLT, 0); prop = RNA_def_property(srna, "show_expanded", PROP_BOOLEAN, PROP_NONE); + RNA_def_property_flag(prop, PROP_NO_DEG_UPDATE); RNA_def_property_boolean_sdna(prop, NULL, "mode", eShaderFxMode_Expanded); RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_STATIC); RNA_def_property_ui_text(prop, "Expanded", "Set effect expanded in the user interface"); |