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.
This commit is contained in:
Sergey Sharybin 2012-04-13 12:45:44 +00:00
parent 54e648d114
commit ff3074b631

@ -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");