Commit: f660085e2f0d1f000f8243f480376492540bfe99
Author: Campbell Barton
Date:   Thu Apr 16 00:59:43 2015 +1000
Branches: master
https://developer.blender.org/rBf660085e2f0d1f000f8243f480376492540bfe99

Increase max brush size from 200 to 500

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

M       source/blender/makesdna/DNA_brush_types.h
M       source/blender/makesrna/intern/rna_sculpt_paint.c

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

diff --git a/source/blender/makesdna/DNA_brush_types.h 
b/source/blender/makesdna/DNA_brush_types.h
index 6d6d33a..a711f2a 100644
--- a/source/blender/makesdna/DNA_brush_types.h
+++ b/source/blender/makesdna/DNA_brush_types.h
@@ -295,7 +295,7 @@ typedef enum BlurKernelType {
        KERNEL_BOX
 } BlurKernelType;
 
-#define MAX_BRUSH_PIXEL_RADIUS 200
+#define MAX_BRUSH_PIXEL_RADIUS 500
 
 #endif
 
diff --git a/source/blender/makesrna/intern/rna_sculpt_paint.c 
b/source/blender/makesrna/intern/rna_sculpt_paint.c
index b98652d..a975ea3 100644
--- a/source/blender/makesrna/intern/rna_sculpt_paint.c
+++ b/source/blender/makesrna/intern/rna_sculpt_paint.c
@@ -875,7 +875,7 @@ static void rna_def_particle_edit(BlenderRNA *brna)
 
        prop = RNA_def_property(srna, "size", PROP_INT, PROP_PIXEL);
        RNA_def_property_range(prop, 1, SHRT_MAX);
-       RNA_def_property_ui_range(prop, 1, 100, 10, 3);
+       RNA_def_property_ui_range(prop, 1, MAX_BRUSH_PIXEL_RADIUS, 10, 3);
        RNA_def_property_ui_text(prop, "Radius", "Radius of the brush in 
pixels");
 
        prop = RNA_def_property(srna, "strength", PROP_FLOAT, PROP_FACTOR);

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to