[Bf-blender-cvs] [495f1d7a6df] greasepencil-object: Increase thickness limit range

Antonio Vazquez noreply at git.blender.org
Tue May 9 15:05:01 CEST 2017


Commit: 495f1d7a6df5e2de760031da663f5ddc2564e378
Author: Antonio Vazquez
Date:   Tue May 9 15:04:52 2017 +0200
Branches: greasepencil-object
https://developer.blender.org/rB495f1d7a6df5e2de760031da663f5ddc2564e378

Increase thickness limit range

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

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

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

diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c
index 3b0faa540c7..e747a1c78a8 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -3150,7 +3150,7 @@ static void rna_def_gpencil_brush(BlenderRNA *brna)
 	prop = RNA_def_property(srna, "line_width", PROP_INT, PROP_PIXEL);
 	RNA_def_property_int_sdna(prop, NULL, "thickness");
 	RNA_def_property_range(prop, 1, 300);
-	RNA_def_property_ui_range(prop, 1, 10, 1, 0);
+	RNA_def_property_ui_range(prop, 1, 50, 1, 0);
 	RNA_def_property_ui_text(prop, "Thickness", "Thickness of strokes (in pixels)");
 	RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, NULL);




More information about the Bf-blender-cvs mailing list