[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [40332] branches/soc-2011-radish/source/ blender/makesrna/intern/rna_scene.c: add back object update function for auto-normalize too.

Campbell Barton ideasman42 at gmail.com
Sun Sep 18 17:20:12 CEST 2011


Revision: 40332
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=40332
Author:   campbellbarton
Date:     2011-09-18 15:20:10 +0000 (Sun, 18 Sep 2011)
Log Message:
-----------
add back object update function for auto-normalize too.

Modified Paths:
--------------
    branches/soc-2011-radish/source/blender/makesrna/intern/rna_scene.c

Modified: branches/soc-2011-radish/source/blender/makesrna/intern/rna_scene.c
===================================================================
--- branches/soc-2011-radish/source/blender/makesrna/intern/rna_scene.c	2011-09-18 15:17:16 UTC (rev 40331)
+++ branches/soc-2011-radish/source/blender/makesrna/intern/rna_scene.c	2011-09-18 15:20:10 UTC (rev 40332)
@@ -1133,10 +1133,10 @@
 	
 	prop = RNA_def_property(srna, "use_auto_normalize", PROP_BOOLEAN, PROP_NONE);
 	RNA_def_property_boolean_sdna(prop, NULL, "auto_normalize", 1);
-	RNA_def_property_ui_text(prop, "WPaint Auto-Normalize", 
-		"Ensure all bone-deforming vertex groups add up to 1.0 while "
-		 "weight painting");
-	RNA_def_property_update(prop, NC_GEOM|ND_DATA, 0);
+	RNA_def_property_ui_text(prop, "WPaint Auto-Normalize",
+	                         "Ensure all bone-deforming vertex groups add up "
+	                         "to 1.0 while weight painting");
+	RNA_def_property_update(prop, 0, "rna_Scene_update_active_object_data");
 
 	prop = RNA_def_property(srna, "use_multipaint", PROP_BOOLEAN, PROP_NONE);
 	RNA_def_property_boolean_sdna(prop, NULL, "multipaint", 1);




More information about the Bf-blender-cvs mailing list