diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-06-17 17:43:22 -0400 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-06-17 17:43:22 -0400 |
commit | d3b9c8944b7730b54796ef79cd78d62fd585fe42 (patch) | |
tree | 45f6b8ca78e3fe931c793f5ffbfdbfe207532e29 /indra/newview/llstartup.cpp | |
parent | 408484d0c133627a1a5e3586aa34015d89b23379 (diff) | |
parent | 8d84b6e82d17eb11622b3d80254ccc4ac15c5bec (diff) |
automated merge
Diffstat (limited to 'indra/newview/llstartup.cpp')
-rw-r--r-- | indra/newview/llstartup.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp index df5be34e39..3ef190f766 100644 --- a/indra/newview/llstartup.cpp +++ b/indra/newview/llstartup.cpp @@ -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")) |