Bug in CollisionInterfaceDemo

cersoft
Posts: 6
Joined: Thu Aug 17, 2006 7:05 am

Bug in CollisionInterfaceDemo

Post by cersoft »

So, it would seem that the new stackAlloc code is causing collisionInterfaceDemo to crash.

After a little tracking down, the btDispatchInfo is not having a m_stackAlloctor set in displayCallback.

Adding :-

dispatchInfo.m_stackAllocator = collisionWorld->getDispatchInfo().m_stackAllocator;

at line 122 seems to fix it .......