reneme volume_preservation -> use_volume_preserve

This commit is contained in:
Campbell Barton 2012-10-24 11:44:32 +00:00
parent c93978d445
commit f40d77ec96
2 changed files with 3 additions and 3 deletions

@ -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()

@ -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");