From ed4331f669a01228681e508dfde6b7556e483045 Mon Sep 17 00:00:00 2001 From: Northspring Date: Wed, 9 Jul 2014 23:23:06 +0200 Subject: [PATCH] Moving MotD and SL Grid Status chat printing from STATE_WORLD_INIT to STATE_STARTED --- indra/newview/llstartup.cpp | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp index 2feff8ba30..cf61f471c3 100755 --- a/indra/newview/llstartup.cpp +++ b/indra/newview/llstartup.cpp @@ -1647,18 +1647,6 @@ bool idle_startup() if (STATE_WORLD_INIT == LLStartUp::getStartupState()) { set_startup_status(0.30f, LLTrans::getString("LoginInitializingWorld"), gAgent.mMOTD); - // FIRE-6643 Display MOTD when login screens are disabled - if(gSavedSettings.getBOOL("FSDisableLoginScreens")) - { - reportToNearbyChat(gAgent.mMOTD); - } - // - // - if (gSavedSettings.getBOOL("AutoQueryGridStatus")) - { - LLHTTPClient::get(gSavedSettings.getString("AutoQueryGridStatusURL"), new SLGridStatusResponder()); - } - // display_startup(); // We should have an agent id by this point. llassert(!(gAgentID == LLUUID::null)); @@ -2783,6 +2771,19 @@ LLWorld::getInstance()->addRegion(gFirstSimHandle, gFirstSim, first_sim_size_x, llassert(LLPathfindingManager::getInstance() != NULL); LLPathfindingManager::getInstance()->initSystem(); + // FIRE-6643 Display MOTD when login screens are disabled + if (gSavedSettings.getBOOL("FSDisableLoginScreens")) + { + reportToNearbyChat(gAgent.mMOTD); + } + // + // + if (gSavedSettings.getBOOL("AutoQueryGridStatus")) + { + LLHTTPClient::get(gSavedSettings.getString("AutoQueryGridStatusURL"), new SLGridStatusResponder()); + } + // + return TRUE; }