[Bf-blender-cvs] [ea1ed3f] master: Rigidbody: Code cleanup

Sergej Reich noreply at git.blender.org
Sat Jan 4 04:27:07 CET 2014


Commit: ea1ed3f4aa45d4716624b7339806fe1cf59b0893
Author: Sergej Reich
Date:   Tue Dec 31 18:46:00 2013 +0100
https://developer.blender.org/rBea1ed3f4aa45d4716624b7339806fe1cf59b0893

Rigidbody: Code cleanup

Convert int to bool.

===================================================================

M	source/blender/blenkernel/intern/rigidbody.c

===================================================================

diff --git a/source/blender/blenkernel/intern/rigidbody.c b/source/blender/blenkernel/intern/rigidbody.c
index 316885d..e78593c 100644
--- a/source/blender/blenkernel/intern/rigidbody.c
+++ b/source/blender/blenkernel/intern/rigidbody.c
@@ -1105,7 +1105,7 @@ static void rigidbody_update_sim_ob(Scene *scene, RigidBodyWorld *rbw, Object *o
 /* Updates and validates world, bodies and shapes.
  * < rebuild: rebuild entire simulation
  */
-static void rigidbody_update_simulation(Scene *scene, RigidBodyWorld *rbw, int rebuild)
+static void rigidbody_update_simulation(Scene *scene, RigidBodyWorld *rbw, bool rebuild)
 {
 	GroupObject *go;




More information about the Bf-blender-cvs mailing list