diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-09-15 11:06:45 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-09-15 11:06:45 +0400 |
commit | 101937e2ddf4d0453868373b644873586febf6e2 (patch) | |
tree | c834d88b1c2265b44c7234de1c387b2120267fc3 /source/blender/makesrna/intern/rna_scene.c | |
parent | 3585808bdbfdd54eceb52171cf0c5c0ea57ec27b (diff) |
replace rna_update_active_object with NC_GEOM|ND_DATA notifier (as pointed out by Matt Ebb), also some whitespace edits to match trunk.
Diffstat (limited to 'source/blender/makesrna/intern/rna_scene.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_scene.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index 7718651a767..3a0183d70fb 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -1120,14 +1120,14 @@ static void rna_def_tool_settings(BlenderRNA *brna) 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_update_active_object"); + RNA_def_property_update(prop, NC_GEOM|ND_DATA, 0); prop = RNA_def_property(srna, "use_multipaint", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "multipaint", 1); RNA_def_property_ui_text(prop, "WPaint Multi-Paint", "Paint across all selected bones while " "weight painting"); - RNA_def_property_update(prop, 0, "rna_update_active_object"); + RNA_def_property_update(prop, NC_GEOM|ND_DATA, 0); prop= RNA_def_property(srna, "vertex_paint", PROP_POINTER, PROP_NONE); RNA_def_property_pointer_sdna(prop, NULL, "vpaint"); |