3
0
Fork 0
mirror of https://github.com/lubosz/overte.git synced 2025-04-27 13:15:45 +02:00

Merge pull request from sethalves/no-sink-upon-server-restart

don't sink through floor when server restarts
This commit is contained in:
Chris Collins 2016-02-10 14:42:28 -08:00
commit b1c6d1d256

View file

@ -3878,6 +3878,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();