1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +00:00

magic commit that fixe the crash when activating collision after changing cell.

To be faire, this commit should break the collision system... there must be something I don't understand with bullet ghost objects :p
This commit is contained in:
gugus 2012-02-06 23:15:19 +01:00
parent 6c15aec5e4
commit 8affa30ff1

View File

@ -157,7 +157,7 @@ namespace Physic
//TODO: memory leak?
btOverlappingPairCache* pairCache = new btSortedOverlappingPairCache();
pairCache->setInternalGhostPairCallback( new btGhostPairCallback() );
//pairCache->setInternalGhostPairCallback( new btGhostPairCallback() );
broadphase = new btDbvtBroadphase(pairCache);