diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-04-25 03:09:19 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-04-25 03:09:19 +0400 |
commit | 08a48b8b966825ef5f95727faeb86784e093bc33 (patch) | |
tree | aaea0577d109e111a53638fb70d239ae90a98f4d /source/blender/makesrna/intern/rna_rigidbody.c | |
parent | 27d19aaaf449037f3437996406ed9b77c09831a2 (diff) |
Fix rigid body world Solver Iterations not showing in UI and throwing python error.
Diffstat (limited to 'source/blender/makesrna/intern/rna_rigidbody.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_rigidbody.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_rigidbody.c b/source/blender/makesrna/intern/rna_rigidbody.c index 2a76160f040..add527efada 100644 --- a/source/blender/makesrna/intern/rna_rigidbody.c +++ b/source/blender/makesrna/intern/rna_rigidbody.c @@ -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); |