mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 14:54:29 +02:00
compute collision events inside lock to avoid a rare crash
This commit is contained in:
parent
3f705f3172
commit
32673efc80
1 changed files with 2 additions and 2 deletions
|
@ -348,10 +348,10 @@ void PhysicsEngine::stepSimulation() {
|
|||
_characterController->postSimulation();
|
||||
}
|
||||
|
||||
computeCollisionEvents();
|
||||
|
||||
unlock();
|
||||
_entityTree->unlock();
|
||||
|
||||
computeCollisionEvents();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue