summaryrefslogtreecommitdiff
path: root/indra/newview/llstartup.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-04-13 16:48:25 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-04-13 17:16:10 +0300
commitee88ebf9e924882d0ac5baf0908fc9d6f437cfa2 (patch)
tree2b0a369cfd8225bb8ff22660a0ab68bd887a6453 /indra/newview/llstartup.cpp
parent483c459e2e013e3bf1c813c3bb5030d0c0631963 (diff)
SL-13029 Fixed load order
Diffstat (limited to 'indra/newview/llstartup.cpp')
-rw-r--r--indra/newview/llstartup.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp
index 8093a3a589..a1d1e85492 100644
--- a/indra/newview/llstartup.cpp
+++ b/indra/newview/llstartup.cpp
@@ -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();