diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp index 733bc7d906b6753a276d9e6f54f6a207be8672d4..0987ad7fd5feb0a76a7c466cf618eb53b88909c3 100755 --- a/indra/newview/llstartup.cpp +++ b/indra/newview/llstartup.cpp @@ -2144,25 +2144,21 @@ bool idle_startup() display_startup(); - if ((LLGridManager::getInstance()->isInSecondlife() && gAgent.isOutfitChosen() && (wearables_time > max_wearables_time)) || - (!LLGridManager::getInstance()->isInSecondlife() && (wearables_time > max_wearables_time))) + if (gAgent.isOutfitChosen() && (wearables_time > max_wearables_time)) { LLNotificationsUtil::add("ClothingLoading"); record(LLStatViewer::LOADING_WEARABLES_LONG_DELAY, wearables_time); LLStartUp::setStartupState( STATE_CLEANUP ); } + // wait for avatar to be completely loaded else if (gAgent.isFirstLogin() && isAgentAvatarValid() && gAgentAvatarp->isFullyLoaded()) { - // wait for avatar to be completely loaded - if (isAgentAvatarValid() - && gAgentAvatarp->isFullyLoaded()) - { - LL_DEBUGS("Avatar") << "avatar fully loaded" << LL_ENDL; - LLStartUp::setStartupState( STATE_CLEANUP ); - return TRUE; - } + + LL_DEBUGS("Avatar") << "avatar fully loaded" << LL_ENDL; + LLStartUp::setStartupState( STATE_CLEANUP ); + return TRUE; } else {