diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-04-15 17:59:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-04-15 17:59:43 +0300 |
commit | f660085e2f0d1f000f8243f480376492540bfe99 (patch) | |
tree | 4fb0932e77d0b3bec4304b1b2f1af309627c3ebb /source | |
parent | 7730391d7425a8581cf16b3a6510acc56108071c (diff) |
Increase max brush size from 200 to 500
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesdna/DNA_brush_types.h | 2 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_sculpt_paint.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h index 6d6d33a6f1b..a711f2ae100 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 b98652de759..a975ea3d7e4 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); |