diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-10-24 15:44:32 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-10-24 15:44:32 +0400 |
commit | f40d77ec96c10587827e5932026eb54e2318dead (patch) | |
tree | d979e28caad0543eab2180448a6390ff32cc9b94 | |
parent | c93978d445de1c33f49f2f49ccfd9dbe7d202abc (diff) |
reneme volume_preservation -> use_volume_preserve
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_modifier.py | 4 | ||||
-rw-r--r-- | 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"); |