Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-11-21 12:06:27 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-11-21 12:06:27 +0300
commitf580d9c33b30e2338c63c9997ca47abca5559053 (patch)
tree45ce23c27c48cf65c88a2d1248cc3d2f2cad2fbb /source/blender/makesrna/intern/rna_sculpt_paint.c
parentcb031ec0927b9c1abb9b510f954ac21287f59cb7 (diff)
- some more rna range corrections
- correct exception messages for mathutils constructors.
Diffstat (limited to 'source/blender/makesrna/intern/rna_sculpt_paint.c')
-rw-r--r--source/blender/makesrna/intern/rna_sculpt_paint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_sculpt_paint.c b/source/blender/makesrna/intern/rna_sculpt_paint.c
index 0b4d87ed642..735dd58252b 100644
--- a/source/blender/makesrna/intern/rna_sculpt_paint.c
+++ b/source/blender/makesrna/intern/rna_sculpt_paint.c
@@ -467,7 +467,7 @@ static void rna_def_particle_edit(BlenderRNA *brna)
RNA_def_struct_ui_text(srna, "Particle Brush", "Particle editing brush");
prop= RNA_def_property(srna, "size", PROP_INT, PROP_NONE);
- RNA_def_property_range(prop, 1, INT_MAX);
+ RNA_def_property_range(prop, 1, SHRT_MAX);
RNA_def_property_ui_range(prop, 1, 100, 10, 3);
RNA_def_property_ui_text(prop, "Size", "Brush size");