Fix rigid body world Solver Iterations not showing in UI and throwing python error.

This commit is contained in:
Brecht Van Lommel 2013-04-24 23:09:19 +00:00
parent 27d19aaaf4
commit 08a48b8b96

@ -666,7 +666,7 @@ static void rna_def_rigidbody_world(BlenderRNA *brna)
RNA_def_property_update(prop, NC_SCENE, "rna_RigidBodyWorld_reset");
/* constraint solver iterations */
prop = RNA_def_property(srna, "num_solver_iterations", PROP_INT, PROP_NONE);
prop = RNA_def_property(srna, "solver_iterations", PROP_INT, PROP_NONE);
RNA_def_property_int_sdna(prop, NULL, "num_solver_iterations");
RNA_def_property_range(prop, 1, 1000);
RNA_def_property_ui_range(prop, 10, 100, 1, -1);