diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2017-05-16 00:28:01 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2017-05-16 00:28:01 +0300 |
commit | 12651aba03c768797cd4bafee5b0e8732e3194c3 (patch) | |
tree | 84e329029f904bfd87fa2a263c5c537c3555a6fe /source/blender/makesrna/intern/rna_particle.c | |
parent | 15e8fbd5491cf1ed492cd0b4c9750fa783348093 (diff) |
Fix hair_step is a short
Diffstat (limited to 'source/blender/makesrna/intern/rna_particle.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_particle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_particle.c b/source/blender/makesrna/intern/rna_particle.c index 3077a49c5cb..3c3d88c858f 100644 --- a/source/blender/makesrna/intern/rna_particle.c +++ b/source/blender/makesrna/intern/rna_particle.c @@ -2363,7 +2363,7 @@ static void rna_def_particle_settings(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Render", "How many steps paths are rendered with (power of 2)"); prop = RNA_def_property(srna, "hair_step", PROP_INT, PROP_NONE); - RNA_def_property_range(prop, 2, INT_MAX); + RNA_def_property_range(prop, 2, SHRT_MAX); RNA_def_property_ui_range(prop, 2, 50, 1, 1); RNA_def_property_ui_text(prop, "Segments", "Number of hair segments"); RNA_def_property_update(prop, 0, "rna_Particle_reset"); |