reneme volume_preservation -> use_volume_preserve
authorCampbell Barton <ideasman42@gmail.com>
Wed, 24 Oct 2012 11:44:32 +0000 (11:44 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 24 Oct 2012 11:44:32 +0000 (11:44 +0000)
release/scripts/startup/bl_ui/properties_data_modifier.py
source/blender/makesrna/intern/rna_modifier.c

index f749b59b6fe2072b68bdb712fb20220798061c27..902358813df0aa2cf483452f3e43b656bfdb3e97 100644 (file)
@@ -348,11 +348,11 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
         col.prop(md, "lambda_border", text="Border")
         
         col.separator()
-        col.prop(md, "volume_preservation")
+        col.prop(md, "use_volume_preserve")
         
         layout.label(text="Vertex Group:")
         layout.prop_search(md, "vertex_group", ob, "vertex_groups", text="")
-               
+
     def LATTICE(self, layout, ob, md):
         split = layout.split()
 
index f83433904ade29144891bc5774e716b01fe743a6..3fc6cb126df49542f876dad70fc985271775aec1 100644 (file)
@@ -1814,7 +1814,7 @@ static void rna_def_modifier_laplaciansmooth(BlenderRNA *brna)
        RNA_def_property_ui_text(prop, "Z", "Smooth object along Z axis");
        RNA_def_property_update(prop, 0, "rna_Modifier_update");
 
-       prop = RNA_def_property(srna, "volume_preservation", PROP_BOOLEAN, PROP_NONE);
+       prop = RNA_def_property(srna, "use_volume_preserve", PROP_BOOLEAN, PROP_NONE);
        RNA_def_property_boolean_sdna(prop, NULL, "flag", MOD_LAPLACIANSMOOTH_VOLUME_PRESERVATION);
        RNA_def_property_ui_text(prop, "Preserve Volume", "Apply volume preservation after smooth");
        RNA_def_property_update(prop, 0, "rna_Modifier_update");