diff options
author | Erwin Coumans <blender@erwincoumans.com> | 2006-06-22 06:20:36 +0400 |
---|---|---|
committer | Erwin Coumans <blender@erwincoumans.com> | 2006-06-22 06:20:36 +0400 |
commit | e5804da0ba97d7dfec51b7028931a2a0cc8abe88 (patch) | |
tree | 45e73a913cf431c33cd6f4891ffeb71d2446fbad | |
parent | 9dc91d288737c0fce92ac814e85744f79250b7e3 (diff) |
bugfix:: added objects didn't have proper physics id (they used the physics id from the 'hidden layer' original.
-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 0c7aa65b243..54f8060c582 100644 --- a/source/gameengine/Ketsji/KX_BulletPhysicsController.cpp +++ b/source/gameengine/Ketsji/KX_BulletPhysicsController.cpp @@ -187,7 +187,7 @@ SG_Controller* KX_BulletPhysicsController::GetReplica(class SG_Node* destnode) } physicsreplica->PostProcessReplica(motionstate,parentctrl); - + physicsreplica->m_userdata = (PHY_IPhysicsController*)physicsreplica; return physicsreplica; } |