diff options
author | Lukas Toenne <lukas.toenne@googlemail.com> | 2012-09-30 16:19:25 +0400 |
---|---|---|
committer | Lukas Toenne <lukas.toenne@googlemail.com> | 2012-09-30 16:19:25 +0400 |
commit | 029c2156e9d9eb139cfe403a9e854f4895528e93 (patch) | |
tree | f45f52caa4129a7ee4df584d5f155ea34327731e | |
parent | 275c23f81c7b58cebea48926b368c94daf69adb4 (diff) |
Fix #32706, Unnecesary refreshing of compositor.
RNA doesn't need to do full update for label changes.
-rw-r--r-- | source/blender/makesrna/intern/rna_nodetree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c index 3239e8ac596..af3a8691e08 100644 --- a/source/blender/makesrna/intern/rna_nodetree.c +++ b/source/blender/makesrna/intern/rna_nodetree.c @@ -4315,7 +4315,7 @@ static void rna_def_node(BlenderRNA *brna) prop = RNA_def_property(srna, "label", PROP_STRING, PROP_NONE); RNA_def_property_string_sdna(prop, NULL, "label"); RNA_def_property_ui_text(prop, "Label", "Optional custom node label"); - RNA_def_property_update(prop, NC_NODE, "rna_Node_update"); + RNA_def_property_update(prop, NC_NODE | ND_DISPLAY, NULL); prop = RNA_def_property(srna, "inputs", PROP_COLLECTION, PROP_NONE); RNA_def_property_collection_sdna(prop, NULL, "inputs", NULL); |