mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
if we are told to clear the octree, disable physics until we have (re)loaded entities
This commit is contained in:
parent
5120076add
commit
11d296a477
1 changed files with 2 additions and 0 deletions
|
@ -3877,6 +3877,8 @@ void Application::clearDomainOctreeDetails() {
|
|||
qCDebug(interfaceapp) << "Clearing domain octree details...";
|
||||
// reset the environment so that we don't erroneously end up with multiple
|
||||
|
||||
_physicsEnabled = false;
|
||||
|
||||
// reset our node to stats and node to jurisdiction maps... since these must be changing...
|
||||
_entityServerJurisdictions.withWriteLock([&] {
|
||||
_entityServerJurisdictions.clear();
|
||||
|
|
Loading…
Reference in a new issue