GPencil: Use better sampling limits.
The problem with T98683 is that sampling interval can be set to very small, resulting in very dense points. This patch attempts to optimize that a little bit. Reviewed By: Antonio Vazquez (antoniov) Differential Revision: https://developer.blender.org/D15180
This commit is contained in:
parent
85fde25178
commit
5abe127b3d
|
@ -1279,8 +1279,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, FLT_MAX);
|
||||
RNA_def_property_ui_range(prop, 0, 1.0, 0.01, 3);
|
||||
RNA_def_property_range(prop, 0.005, FLT_MAX);
|
||||
RNA_def_property_ui_range(prop, 0, 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