[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34635] trunk/blender/source/blender/ makesrna/intern/rna_particle.c: hard- and ui-limit for particle grid resolution were vice versa.

M.G. Kishalmi lmg at kishalmi.net
Fri Feb 4 10:02:47 CET 2011


Revision: 34635
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=34635
Author:   lmg
Date:     2011-02-04 09:02:47 +0000 (Fri, 04 Feb 2011)
Log Message:
-----------
hard- and ui-limit for particle grid resolution were vice versa.

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_particle.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_particle.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_particle.c	2011-02-04 08:33:07 UTC (rev 34634)
+++ trunk/blender/source/blender/makesrna/intern/rna_particle.c	2011-02-04 09:02:47 UTC (rev 34635)
@@ -1684,8 +1684,8 @@
 	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");
 




More information about the Bf-blender-cvs mailing list