mirror of
https://github.com/overte-org/overte.git
synced 2025-04-26 07:56:32 +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();
|
_characterController->postSimulation();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
computeCollisionEvents();
|
||||||
|
|
||||||
unlock();
|
unlock();
|
||||||
_entityTree->unlock();
|
_entityTree->unlock();
|
||||||
|
|
||||||
computeCollisionEvents();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue