Small fix

This commit is contained in:
Daniel Chappuis 2019-10-28 23:16:26 +01:00
parent 87614b7dad
commit 294d3b6665

View File

@ -335,7 +335,10 @@ void CollisionDetection::broadPhaseNotifyOverlappingPair(ProxyShape* shape1, Pro
mMemoryManager.getSingleFrameAllocator(), mWorld->mConfig);
assert(newPair != nullptr);
#ifdef IS_PROFILING_ACTIVE
newPair->setProfiler(mProfiler);
#endif
mOverlappingPairs.add(Pair<Pair<uint, uint>, OverlappingPair*>(pairID, newPair));
// Wake up the two bodies