Fix #23210: displace modifier strength only had 2 decimal places,

was inconsistent.
This commit is contained in:
Brecht Van Lommel 2010-08-06 18:14:52 +00:00
parent fe0a7ea7a5
commit 8c40bda539

@ -1286,7 +1286,7 @@ static void rna_def_modifier_displace(BlenderRNA *brna)
prop= RNA_def_property(srna, "strength", PROP_FLOAT, PROP_NONE);
RNA_def_property_range(prop, -FLT_MAX, FLT_MAX);
RNA_def_property_ui_range(prop, -100, 100, 10, 2);
RNA_def_property_ui_range(prop, -100, 100, 10, 3);
RNA_def_property_ui_text(prop, "Strength", "");
RNA_def_property_update(prop, 0, "rna_Modifier_update");