GPencil: Change range for Length value in Simplify modifier
In some cases a smaller value is required. Anyways, the UI value soft limit is 0.005
This commit is contained in:
parent
813425877b
commit
3956c4738f
|
@ -1425,8 +1425,8 @@ static void rna_def_modifier_gpencilsimplify(BlenderRNA *brna)
|
|||
/* Sample */
|
||||
prop = RNA_def_property(srna, "length", PROP_FLOAT, PROP_DISTANCE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "length");
|
||||
RNA_def_property_range(prop, 0.005, FLT_MAX);
|
||||
RNA_def_property_ui_range(prop, 0, 1.0, 0.05, 3);
|
||||
RNA_def_property_range(prop, 0, FLT_MAX);
|
||||
RNA_def_property_ui_range(prop, 0.005, 1.0, 0.05, 3);
|
||||
RNA_def_property_ui_text(prop, "Length", "Length of each segment");
|
||||
RNA_def_property_update(prop, 0, "rna_GpencilModifier_update");
|
||||
|
||||
|
|
Loading…
Reference in New Issue