From f40d77ec96c10587827e5932026eb54e2318dead Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 24 Oct 2012 11:44:32 +0000 Subject: [PATCH] reneme volume_preservation -> use_volume_preserve --- release/scripts/startup/bl_ui/properties_data_modifier.py | 4 ++-- source/blender/makesrna/intern/rna_modifier.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/release/scripts/startup/bl_ui/properties_data_modifier.py b/release/scripts/startup/bl_ui/properties_data_modifier.py index f749b59b6fe..902358813df 100644 --- a/release/scripts/startup/bl_ui/properties_data_modifier.py +++ b/release/scripts/startup/bl_ui/properties_data_modifier.py @@ -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() diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c index f83433904ad..3fc6cb126df 100644 --- a/source/blender/makesrna/intern/rna_modifier.c +++ b/source/blender/makesrna/intern/rna_modifier.c @@ -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");