[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [50958] trunk/blender/source/blender/ makesrna/intern/rna_nodetree.c: Fix #32706, Unnecesary refreshing of compositor.
Lukas Toenne
lukas.toenne at googlemail.com
Sun Sep 30 14:19:25 CEST 2012
Revision: 50958
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=50958
Author: lukastoenne
Date: 2012-09-30 12:19:25 +0000 (Sun, 30 Sep 2012)
Log Message:
-----------
Fix #32706, Unnecesary refreshing of compositor.
RNA doesn't need to do full update for label changes.
Modified Paths:
--------------
trunk/blender/source/blender/makesrna/intern/rna_nodetree.c
Modified: trunk/blender/source/blender/makesrna/intern/rna_nodetree.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_nodetree.c 2012-09-30 11:15:40 UTC (rev 50957)
+++ trunk/blender/source/blender/makesrna/intern/rna_nodetree.c 2012-09-30 12:19:25 UTC (rev 50958)
@@ -4315,7 +4315,7 @@
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);
More information about the Bf-blender-cvs
mailing list