Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErwin Coumans <blender@erwincoumans.com>2006-06-22 06:09:48 +0400
committerErwin Coumans <blender@erwincoumans.com>2006-06-22 06:09:48 +0400
commit9dc91d288737c0fce92ac814e85744f79250b7e3 (patch)
treef048b45b5fb5dfc9ba76c9e94ed89918ba1344d0 /source/gameengine
parentcd5a7fbe84e0f75dbab446d9cdee7fcf4e705650 (diff)
fixed restore/suspendDynamics bug
Diffstat (limited to 'source/gameengine')
-rw-r--r--source/gameengine/Ketsji/KX_BulletPhysicsController.cpp2
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)