diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-04-01 01:29:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-04-01 01:29:56 +0300 |
commit | 879f5c832bfeaf1e29479319dbdf4898cbd43a6d (patch) | |
tree | 1207e9f39da9f65123b13033e7e5d6fefce31490 | |
parent | c59ca9e477d23884997046d61d9ea20c78ee06bb (diff) |
Match corrective-smooth UI to smooth modifier
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_modifier.py | 2 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_modifier.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_modifier.py b/release/scripts/startup/bl_ui/properties_data_modifier.py index a3cf079f915..1186992b13e 100644 --- a/release/scripts/startup/bl_ui/properties_data_modifier.py +++ b/release/scripts/startup/bl_ui/properties_data_modifier.py @@ -1389,8 +1389,8 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel): def CORRECTIVE_SMOOTH(self, layout, ob, md): is_bind = md.is_bind + layout.prop(md, "factor", text="Factor") layout.prop(md, "iterations") - layout.prop(md, "lambda_factor", text="Factor") row = layout.row() row.prop(md, "smooth_type") diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c index 635336004f9..93f29dbee66 100644 --- a/source/blender/makesrna/intern/rna_modifier.c +++ b/source/blender/makesrna/intern/rna_modifier.c @@ -2169,7 +2169,7 @@ static void rna_def_modifier_correctivesmooth(BlenderRNA *brna) RNA_def_struct_sdna(srna, "CorrectiveSmoothModifierData"); RNA_def_struct_ui_icon(srna, ICON_MOD_SMOOTH); - prop = RNA_def_property(srna, "lambda_factor", PROP_FLOAT, PROP_NONE); + prop = RNA_def_property(srna, "factor", PROP_FLOAT, PROP_NONE); RNA_def_property_float_sdna(prop, NULL, "lambda"); RNA_def_property_range(prop, -FLT_MAX, FLT_MAX); RNA_def_property_ui_range(prop, 0.0, 1.0, 5, 3); |