diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2020-12-03 19:42:12 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2020-12-03 19:42:12 +0300 |
commit | 769818f7f44341511f17925f41535a06f2224558 (patch) | |
tree | df435a589ed1b0ecd017f4b281b030219eb6aee2 | |
parent | c821aa8ca76b219e51bbc1f6b840efd6152c045e (diff) |
GPencil: Reduce UI range for Simplify Adaptive factor
The old range was too big, so now the soft limit is between 0 and 5
-rw-r--r-- | source/blender/makesrna/intern/rna_gpencil_modifier.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_gpencil_modifier.c b/source/blender/makesrna/intern/rna_gpencil_modifier.c index 19264aeebd7..e30ee2e9ee7 100644 --- a/source/blender/makesrna/intern/rna_gpencil_modifier.c +++ b/source/blender/makesrna/intern/rna_gpencil_modifier.c @@ -781,7 +781,7 @@ static void rna_def_modifier_gpencilsimplify(BlenderRNA *brna) prop = RNA_def_property(srna, "factor", PROP_FLOAT, PROP_FACTOR); RNA_def_property_float_sdna(prop, NULL, "factor"); RNA_def_property_range(prop, 0, 100.0); - RNA_def_property_ui_range(prop, 0, 100.0, 1.0f, 3); + RNA_def_property_ui_range(prop, 0, 5.0f, 1.0f, 3); RNA_def_property_ui_text(prop, "Factor", "Factor of Simplify"); RNA_def_property_update(prop, 0, "rna_GpencilModifier_update"); |