EXT-7811 FIX Crash to desktop during SL login
parent
7cc0063478
commit
8d84b6e82d
|
|
@ -244,7 +244,10 @@ void LLAvatarIconCtrl::setValue(const LLSD& value)
|
|||
LLIconCtrl::setValue(value);
|
||||
}
|
||||
|
||||
gCacheName->get(mAvatarId, FALSE, boost::bind(&LLAvatarIconCtrl::nameUpdatedCallback, this, _1, _2, _3, _4));
|
||||
if (gCacheName)
|
||||
{
|
||||
gCacheName->get(mAvatarId, FALSE, boost::bind(&LLAvatarIconCtrl::nameUpdatedCallback, this, _1, _2, _3, _4));
|
||||
}
|
||||
}
|
||||
|
||||
bool LLAvatarIconCtrl::updateFromCache()
|
||||
|
|
|
|||
|
|
@ -1116,8 +1116,6 @@ bool idle_startup()
|
|||
LLVoiceClient::getInstance()->userAuthorized(gUserCredential->userID(), gAgentID);
|
||||
// create the default proximal channel
|
||||
LLVoiceChannel::initClass();
|
||||
// update the voice settings
|
||||
LLVoiceClient::getInstance()->updateSettings();
|
||||
LLGridManager::getInstance()->setFavorite();
|
||||
LLStartUp::setStartupState( STATE_WORLD_INIT);
|
||||
}
|
||||
|
|
@ -1300,6 +1298,10 @@ bool idle_startup()
|
|||
LLAppViewer::instance()->loadNameCache();
|
||||
}
|
||||
|
||||
// update the voice settings *after* gCacheName initialization
|
||||
// so that we can construct voice UI that relies on the name cache
|
||||
LLVoiceClient::getInstance()->updateSettings();
|
||||
|
||||
//gCacheName is required for nearby chat history loading
|
||||
//so I just moved nearby history loading a few states further
|
||||
if (!gNoRender && gSavedPerAccountSettings.getBOOL("LogShowHistory"))
|
||||
|
|
|
|||
Loading…
Reference in New Issue