mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-14 23:28:27 +02:00
don't forget to clear _activeStaticBodies
This commit is contained in:
parent
d6a20a4abd
commit
bef053584b
1 changed files with 1 additions and 0 deletions
|
@ -250,6 +250,7 @@ void PhysicsEngine::removeSetOfObjects(const SetOfMotionStates& objects) {
|
|||
}
|
||||
object->clearIncomingDirtyFlags();
|
||||
}
|
||||
_activeStaticBodies.clear();
|
||||
}
|
||||
|
||||
void PhysicsEngine::addObjects(const VectorOfMotionStates& objects) {
|
||||
|
|
Loading…
Reference in a new issue