if we are told to clear the octree, disable physics until we have (re)loaded entities

This commit is contained in:
Seth Alves 2016-02-10 14:08:35 -08:00
parent 5120076add
commit 11d296a477

View file

@ -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();