SL-13029 Fixed load order

master
Andrey Kleshchev 2020-04-13 16:48:25 +03:00
parent 483c459e2e
commit ee88ebf9e9
2 changed files with 5 additions and 3 deletions

View File

@ -851,8 +851,6 @@ void LLEnvironment::initSingleton()
}
LLEventPumps::instance().obtain(PUMP_EXPERIENCE).listen(LISTENER_NAME, [this](LLSD message) { listenExperiencePump(message); return false; });
loadFromSettings();
}
void LLEnvironment::cleanupSingleton()

View File

@ -1878,7 +1878,11 @@ bool idle_startup()
}
display_startup();
// Load stored local environment if needed. Only should be done once at least
// initial region data got loaded to avoid race condition with region's environment
LLEnvironment::instance().loadFromSettings();
// *TODO : Uncomment that line once the whole grid migrated to SLM and suppress it from LLAgent::handleTeleportFinished() (llagent.cpp)
//check_merchant_status();