diff --git a/CHANGELOG.md b/CHANGELOG.md index 6cf9d833..7727299c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## Release Candidate + +### Fixed + + - Bug [#45](https://github.com/DanielChappuis/reactphysics3d/issues/45) has been fixed. + ## Version 0.7.0 (May 1, 2018) ### Added diff --git a/src/collision/broadphase/BroadPhaseAlgorithm.cpp b/src/collision/broadphase/BroadPhaseAlgorithm.cpp index 5191c001..83253346 100644 --- a/src/collision/broadphase/BroadPhaseAlgorithm.cpp +++ b/src/collision/broadphase/BroadPhaseAlgorithm.cpp @@ -264,6 +264,7 @@ void BroadPhaseAlgorithm::computeOverlappingPairs(MemoryManager& memoryManager) // Reset the array of collision shapes that have move (or have been created) during the // last simulation step mNbMovedShapes = 0; + mNbNonUsedMovedShapes = 0; // Sort the array of potential overlapping pairs in order to remove duplicate pairs std::sort(mPotentialPairs, mPotentialPairs + mNbPotentialPairs, BroadPhasePair::smallerThan);