rigidbody: Revert to running simulation on frame update
authorSergej Reich <sergej.reich@googlemail.com>
Sun, 3 Mar 2013 06:09:48 +0000 (06:09 +0000)
committerSergej Reich <sergej.reich@googlemail.com>
Sun, 3 Mar 2013 06:09:48 +0000 (06:09 +0000)
commitceaf8e48ef5fbdb7e45a06b84bf24365ec5c5ed1
tree2f1ec600c61c696635fa2867e8ccf3c95a3937d7
parent5ff6a5c6abe36b1521d310b0f7e0f6dfd3afa1f3
rigidbody: Revert to running simulation on frame update

Instead of flagging the rigid body world for frame update just call
BKE_rigidbody_do_simulation() recursively for all scenes.

This avoids having to constantly check if the simulation needs to be
updated.
source/blender/blenkernel/intern/rigidbody.c
source/blender/blenkernel/intern/scene.c
source/blender/makesdna/DNA_rigidbody_types.h