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:
authorAaron Carlisle <carlisle.b3d@gmail.com>2017-05-15 23:43:33 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2017-05-15 23:43:33 +0300
commit15e8fbd5491cf1ed492cd0b4c9750fa783348093 (patch)
treead6665b0ab08310d2301a9b11b0b2868a504fd10 /source/blender/makesrna/intern/rna_particle.c
parent4621583612fa40d90fa89dfc32686d39dc596714 (diff)
Fix compile error on gcc after last commit
error: static assertion failed: "invalid limits"
Diffstat (limited to 'source/blender/makesrna/intern/rna_particle.c')
-rw-r--r--source/blender/makesrna/intern/rna_particle.c2
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 ed1792c2ce7..3077a49c5cb 100644
--- a/source/blender/makesrna/intern/rna_particle.c
+++ b/source/blender/makesrna/intern/rna_particle.c
@@ -2364,7 +2364,7 @@ static void rna_def_particle_settings(BlenderRNA *brna)
prop = RNA_def_property(srna, "hair_step", PROP_INT, PROP_NONE);
RNA_def_property_range(prop, 2, INT_MAX);
- RNA_def_property_ui_range(prop, 2, 50, 1, -1);
+ 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");