diff options
author | M.G. Kishalmi <lmg@kishalmi.net> | 2011-02-04 12:02:47 +0300 |
---|---|---|
committer | M.G. Kishalmi <lmg@kishalmi.net> | 2011-02-04 12:02:47 +0300 |
commit | f0eb3b56de1456b973098640b7eda47c7e1d58a0 (patch) | |
tree | 5f6d2f1bda5e2cac5699a8e164795a3f1919ecc0 /source | |
parent | a155d8895d9846a54a084ced1b782594e9f479b2 (diff) |
hard- and ui-limit for particle grid resolution were vice versa.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesrna/intern/rna_particle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_particle.c b/source/blender/makesrna/intern/rna_particle.c index 1fabdb8d21c..cbf8c7093d7 100644 --- a/source/blender/makesrna/intern/rna_particle.c +++ b/source/blender/makesrna/intern/rna_particle.c @@ -1684,8 +1684,8 @@ static void rna_def_particle_settings(BlenderRNA *brna) prop= RNA_def_property(srna, "grid_resolution", PROP_INT, PROP_UNSIGNED); RNA_def_property_int_sdna(prop, NULL, "grid_res"); RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); - RNA_def_property_range(prop, 1, 46); /* ~100k particles in a cube */ - RNA_def_property_ui_range(prop, 1, 215, 1, 0); /* ~10M particles in a cube */ + RNA_def_property_range(prop, 1, 215); /* ~10M particles in a cube */ + RNA_def_property_ui_range(prop, 1, 46, 1, 0); /* ~100k particles in a cube */ RNA_def_property_ui_text(prop, "Resolution", "The resolution of the particle grid"); RNA_def_property_update(prop, 0, "rna_Particle_reset"); |