[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [45600] trunk/blender/source/blender/ makesrna/intern/rna_scene.c: Increase limit for game simulation steps to 50 , made it hard limit.

Sergey Sharybin sergey.vfx at gmail.com
Fri Apr 13 14:45:45 CEST 2012


Revision: 45600
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=45600
Author:   nazgul
Date:     2012-04-13 12:45:44 +0000 (Fri, 13 Apr 2012)
Log Message:
-----------
Increase limit for game simulation steps to 50, made it hard limit.
Soft limit is still 5, so should be pretty safe even if it's not
supported well in all cases.

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

Modified: trunk/blender/source/blender/makesrna/intern/rna_scene.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_scene.c	2012-04-13 12:14:20 UTC (rev 45599)
+++ trunk/blender/source/blender/makesrna/intern/rna_scene.c	2012-04-13 12:45:44 UTC (rev 45600)
@@ -2515,8 +2515,8 @@
 
 	prop = RNA_def_property(srna, "physics_step_sub", PROP_INT, PROP_NONE);
 	RNA_def_property_int_sdna(prop, NULL, "physubstep");
+	RNA_def_property_range(prop, 1, 50);
 	RNA_def_property_ui_range(prop, 1, 5, 1, 1);
-	RNA_def_property_range(prop, 1, 5);
 	RNA_def_property_ui_text(prop, "Physics Sub Steps",
 	                         "Number of simulation substep per physic timestep, "
 	                         "higher value give better physics precision");




More information about the Bf-blender-cvs mailing list