2.5 RNA:
Bugfix: Smooth Modifier didn't accept negative factor values. Patch by Wahooney. Thanks!
This commit is contained in:
@@ -1144,7 +1144,7 @@ static void rna_def_modifier_smooth(BlenderRNA *brna)
|
||||
|
||||
prop= RNA_def_property(srna, "factor", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "fac");
|
||||
RNA_def_property_range(prop, FLT_MIN, FLT_MAX);
|
||||
RNA_def_property_range(prop, -FLT_MAX, FLT_MAX);
|
||||
RNA_def_property_ui_range(prop, -10, 10, 0.5, 2);
|
||||
RNA_def_property_ui_text(prop, "Factor", "");
|
||||
RNA_def_property_update(prop, NC_OBJECT|ND_MODIFIER, "rna_Modifier_update");
|
||||
|
||||
Reference in New Issue
Block a user