From ff3074b631ac4f053d9f9479e15148ef22c693f8 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 13 Apr 2012 12:45:44 +0000 Subject: [PATCH] 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. --- source/blender/makesrna/intern/rna_scene.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index 8b96b6b2870..508a58061be 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -2515,8 +2515,8 @@ static void rna_def_scene_game_data(BlenderRNA *brna) 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");