[Bf-blender-cvs] [1c7019e0883] soc-2020-greasepencil-curve: GPencil: Increase hard limit for curve resolution

Falk David noreply at git.blender.org
Fri Jun 12 20:40:58 CEST 2020


Commit: 1c7019e08832a9e47c5aa1917ffd233d00bff6e2
Author: Falk David
Date:   Fri Jun 12 20:40:43 2020 +0200
Branches: soc-2020-greasepencil-curve
https://developer.blender.org/rB1c7019e08832a9e47c5aa1917ffd233d00bff6e2

GPencil: Increase hard limit for curve resolution

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

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

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

diff --git a/source/blender/makesrna/intern/rna_gpencil.c b/source/blender/makesrna/intern/rna_gpencil.c
index b5398b5e1cf..092f6f7c47a 100644
--- a/source/blender/makesrna/intern/rna_gpencil.c
+++ b/source/blender/makesrna/intern/rna_gpencil.c
@@ -2319,7 +2319,8 @@ static void rna_def_gpencil_data(BlenderRNA *brna)
 
   prop = RNA_def_property(srna, "edit_curve_resolution", PROP_INT, PROP_NONE);
   RNA_def_property_int_sdna(prop, NULL, "editcurve_resolution");
-  RNA_def_property_range(prop, 1, 64);
+  RNA_def_property_range(prop, 1, 256);
+  RNA_def_property_ui_range(prop, 1, 64, 1, 1);
   RNA_def_property_int_default(prop, GP_DEFAULT_CURVE_RESOLUTION);
   RNA_def_parameter_clear_flags(prop, PROP_ANIMATABLE, 0);
   RNA_def_property_ui_text(



More information about the Bf-blender-cvs mailing list