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/BulletDynamics | |
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/BulletDynamics')
-rw-r--r-- | extern/bullet2/src/BulletDynamics/Dynamics/Bullet-C-API.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/extern/bullet2/src/BulletDynamics/Dynamics/Bullet-C-API.cpp b/extern/bullet2/src/BulletDynamics/Dynamics/Bullet-C-API.cpp index 47addbac45b..20d6975832b 100644 --- a/extern/bullet2/src/BulletDynamics/Dynamics/Bullet-C-API.cpp +++ b/extern/bullet2/src/BulletDynamics/Dynamics/Bullet-C-API.cpp @@ -365,10 +365,6 @@ double plNearestPoints(float p1[3], float p2[3], float p3[3], float q1[3], float btPointCollector gjkOutput; btGjkPairDetector::ClosestPointInput input; - btStackAlloc gStackAlloc(1024*1024*2); - - input.m_stackAlloc = &gStackAlloc; - btTransform tr; tr.setIdentity(); |