diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-11-05 22:06:29 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-11-05 22:06:29 +0300 |
commit | 17c323b5a4cfd4f435f313adf4aacb0963387fad (patch) | |
tree | ab72716ea92e38b0f73f2c73de07c17ee3eb8899 /extern/bullet2/src/BulletCollision/CollisionDispatch/btConvexConvexAlgorithm.cpp | |
parent | aec92ddc51cbcda0b706f9029838b3bb7b211f71 (diff) |
Fix for bug #19817: cloth simulation with collision slow on Mac.
The cause of this is in the bullet library, seems like some kind
of poor handling of many repeated allocations by Mac OS X, but the
allocation is unnecessary, so removed it.
Patch submitted to bullet:
http://code.google.com/p/bullet/issues/detail?id=303
Diffstat (limited to 'extern/bullet2/src/BulletCollision/CollisionDispatch/btConvexConvexAlgorithm.cpp')
-rw-r--r-- | extern/bullet2/src/BulletCollision/CollisionDispatch/btConvexConvexAlgorithm.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/extern/bullet2/src/BulletCollision/CollisionDispatch/btConvexConvexAlgorithm.cpp b/extern/bullet2/src/BulletCollision/CollisionDispatch/btConvexConvexAlgorithm.cpp index 274c5f5bdc6..496fd996f8c 100644 --- a/extern/bullet2/src/BulletCollision/CollisionDispatch/btConvexConvexAlgorithm.cpp +++ b/extern/bullet2/src/BulletCollision/CollisionDispatch/btConvexConvexAlgorithm.cpp @@ -202,7 +202,6 @@ void btConvexConvexAlgorithm ::processCollision (btCollisionObject* body0,btColl input.m_maximumDistanceSquared*= input.m_maximumDistanceSquared; } - input.m_stackAlloc = dispatchInfo.m_stackAllocator; input.m_transformA = body0->getWorldTransform(); input.m_transformB = body1->getWorldTransform(); |