From a2a571987c6f6a1caee57057cfed18896b786c5b Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 1 Apr 2019 10:22:06 +0200 Subject: 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. --- source/blender/makesrna/intern/rna_gpencil_modifier.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/makesrna/intern/rna_gpencil_modifier.c') diff --git a/source/blender/makesrna/intern/rna_gpencil_modifier.c b/source/blender/makesrna/intern/rna_gpencil_modifier.c index f0be1a2d6a3..23be3bb2980 100644 --- a/source/blender/makesrna/intern/rna_gpencil_modifier.c +++ b/source/blender/makesrna/intern/rna_gpencil_modifier.c @@ -1627,6 +1627,7 @@ void RNA_def_greasepencil_modifier(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", eGpencilModifierMode_Expanded); RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_STATIC); RNA_def_property_ui_text(prop, "Expanded", "Set modifier expanded in the user interface"); -- cgit v1.2.3