[Bf-blender-cvs] [8572f5720e1] temp-lineart-contained: LineArt: Larger upper limit for smooth tolerance.

YimingWu noreply at git.blender.org
Thu Jun 17 14:54:09 CEST 2021


Commit: 8572f5720e1eab6c7074c6fbaa53c0d2bf421f7b
Author: YimingWu
Date:   Thu Jun 17 20:49:47 2021 +0800
Branches: temp-lineart-contained
https://developer.blender.org/rB8572f5720e1eab6c7074c6fbaa53c0d2bf421f7b

LineArt: Larger upper limit for smooth tolerance.

===================================================================

M	source/blender/makesrna/intern/rna_gpencil_modifier.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_gpencil_modifier.c b/source/blender/makesrna/intern/rna_gpencil_modifier.c
index da9dffbafa2..1eaa13fc4dc 100644
--- a/source/blender/makesrna/intern/rna_gpencil_modifier.c
+++ b/source/blender/makesrna/intern/rna_gpencil_modifier.c
@@ -2816,7 +2816,7 @@ static void rna_def_modifier_gpencillineart(BlenderRNA *brna)
   RNA_def_property_ui_text(
       prop, "Smooth Tolerance", "Strength of smoothing applied on jagged chains");
   RNA_def_property_ui_range(prop, 0.0f, 1.0f, 0.05f, 4);
-  RNA_def_property_range(prop, 0.0f, 1.0f);
+  RNA_def_property_range(prop, 0.0f, 30.0f);
   RNA_def_property_update(prop, NC_SCENE, "rna_GpencilModifier_update");
 
   prop = RNA_def_property(srna, "use_remove_doubles", PROP_BOOLEAN, PROP_NONE);



More information about the Bf-blender-cvs mailing list