diff options
author | Erwin Coumans <blender@erwincoumans.com> | 2006-04-26 07:20:28 +0400 |
---|---|---|
committer | Erwin Coumans <blender@erwincoumans.com> | 2006-04-26 07:20:28 +0400 |
commit | 45d0123a591adc11925396ff915642c2d88b61e7 (patch) | |
tree | a2c7cb00d0bcc67996cab59a2306b8d6da4c92de /source/gameengine/Ketsji/KX_TouchSensor.cpp | |
parent | 94dd1085e3db245601c6e0f09a128d39560e3bed (diff) |
fixed several internal Bullet rigidbody dynamics bugs:
- broadphase had bugs in removing objects,
- persistent manifold renamed value,
- cylinder penetration depth fixed,
- memory leak for persistent manifold
Diffstat (limited to 'source/gameengine/Ketsji/KX_TouchSensor.cpp')
-rw-r--r-- | source/gameengine/Ketsji/KX_TouchSensor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_TouchSensor.cpp b/source/gameengine/Ketsji/KX_TouchSensor.cpp index 8eaaefe60b4..3cd5097ebb7 100644 --- a/source/gameengine/Ketsji/KX_TouchSensor.cpp +++ b/source/gameengine/Ketsji/KX_TouchSensor.cpp @@ -142,6 +142,7 @@ void KX_TouchSensor::ReParent(SCA_IObject* parent) KX_ClientObjectInfo *client_info = gameobj->getClientInfo(); client_info->m_gameobject = gameobj; client_info->m_auxilary_info = NULL; + client_info->m_sensors.push_back(this); SCA_ISensor::ReParent(parent); } |