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:
parent
6c15aec5e4
commit
8affa30ff1
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user