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:20:36 +0400
committerErwin Coumans <blender@erwincoumans.com>2006-06-22 06:20:36 +0400
commite5804da0ba97d7dfec51b7028931a2a0cc8abe88 (patch)
tree45e73a913cf431c33cd6f4891ffeb71d2446fbad /source/gameengine
parent9dc91d288737c0fce92ac814e85744f79250b7e3 (diff)
bugfix:: added objects didn't have proper physics id (they used the physics id from the 'hidden layer' original.
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 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;
}