forked from bartvdbraak/blender
reneme volume_preservation -> use_volume_preserve
This commit is contained in:
parent
c93978d445
commit
f40d77ec96
@ -348,7 +348,7 @@ 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="")
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user