diff options
author | Erwin Coumans <blender@erwincoumans.com> | 2006-06-22 06:09:48 +0400 |
---|---|---|
committer | Erwin Coumans <blender@erwincoumans.com> | 2006-06-22 06:09:48 +0400 |
commit | 9dc91d288737c0fce92ac814e85744f79250b7e3 (patch) | |
tree | f048b45b5fb5dfc9ba76c9e94ed89918ba1344d0 /source/gameengine/Ketsji/KX_BulletPhysicsController.cpp | |
parent | cd5a7fbe84e0f75dbab446d9cdee7fcf4e705650 (diff) |
fixed restore/suspendDynamics bug
Diffstat (limited to 'source/gameengine/Ketsji/KX_BulletPhysicsController.cpp')
-rw-r--r-- | source/gameengine/Ketsji/KX_BulletPhysicsController.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_BulletPhysicsController.cpp b/source/gameengine/Ketsji/KX_BulletPhysicsController.cpp index 49e0e7953cb..0c7aa65b243 100644 --- a/source/gameengine/Ketsji/KX_BulletPhysicsController.cpp +++ b/source/gameengine/Ketsji/KX_BulletPhysicsController.cpp @@ -149,7 +149,7 @@ void KX_BulletPhysicsController::SuspendDynamics() } void KX_BulletPhysicsController::RestoreDynamics() { - GetRigidBody()->SetActivationState(ACTIVE_TAG); + GetRigidBody()->ForceActivationState(ACTIVE_TAG); } SG_Controller* KX_BulletPhysicsController::GetReplica(class SG_Node* destnode) |