add back object update function for auto-normalize too.
authorCampbell Barton <ideasman42@gmail.com>
Sun, 18 Sep 2011 15:20:10 +0000 (15:20 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 18 Sep 2011 15:20:10 +0000 (15:20 +0000)
source/blender/makesrna/intern/rna_scene.c

index 82b099f..a325e1b 100644 (file)
@@ -1133,10 +1133,10 @@ static void rna_def_tool_settings(BlenderRNA  *brna)
        
        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);