[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36721] trunk/blender/source/blender/ makesrna/intern/rna_particle.c: RNA glitch: particle path step values had soft & hard limits the wrong way around.

Janne Karhu jhkarh at gmail.com
Mon May 16 22:48:14 CEST 2011


Revision: 36721
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36721
Author:   jhk
Date:     2011-05-16 20:48:14 +0000 (Mon, 16 May 2011)
Log Message:
-----------
RNA glitch: particle path step values had soft & hard limits the wrong way around.

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-05-16 20:30:59 UTC (rev 36720)
+++ trunk/blender/source/blender/makesrna/intern/rna_particle.c	2011-05-16 20:48:14 UTC (rev 36721)
@@ -1840,15 +1840,15 @@
 	RNA_def_property_update(prop, 0, "rna_Particle_redo_child");
 
 	prop= RNA_def_property(srna, "draw_step", PROP_INT, PROP_NONE);
-	RNA_def_property_range(prop, 0, 7);
-	RNA_def_property_ui_range(prop, 0, 10, 1, 0);
+	RNA_def_property_range(prop, 0, 10);
+	RNA_def_property_ui_range(prop, 0, 7, 1, 0);
 	RNA_def_property_ui_text(prop, "Steps", "How many steps paths are drawn with (power of 2)");
 	RNA_def_property_update(prop, 0, "rna_Particle_redo");
 
 	prop= RNA_def_property(srna, "render_step", PROP_INT, PROP_NONE);
 	RNA_def_property_int_sdna(prop, NULL, "ren_step");
-	RNA_def_property_range(prop, 0, 9);
-	RNA_def_property_ui_range(prop, 0, 20, 1, 0);
+	RNA_def_property_range(prop, 0, 20);
+	RNA_def_property_ui_range(prop, 0, 9, 1, 0);
 	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);




More information about the Bf-blender-cvs mailing list