diff options
author | Dave SIMmONs <simon@lindenlab.com> | 2011-02-23 09:04:35 -0800 |
---|---|---|
committer | Dave SIMmONs <simon@lindenlab.com> | 2011-02-23 09:04:35 -0800 |
commit | 1c8c28a8de73228c06fdf2d84045433c7231cd19 (patch) | |
tree | ea46c284ccb8250f6f34cf21f6208d909c6b69e4 /indra/newview/llappviewer.cpp | |
parent | f91a9c87e5e758ecd32111d901ff32d282b73fa7 (diff) | |
parent | 40abc0fe1e6edd2f018fcdc35ffccdb5475a5fe0 (diff) |
Merge latest from lindenlab/viewer-release
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rw-r--r-- | indra/newview/llappviewer.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 80c752da9a..e8730c82bb 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -2480,16 +2480,24 @@ namespace { if(data["required"].asBoolean()) { - apply_callback = &apply_update_ok_callback; if(LLStartUp::getStartupState() <= STATE_LOGIN_WAIT) { // The user never saw the progress bar. + apply_callback = &apply_update_ok_callback; notification_name = "RequiredUpdateDownloadedVerboseDialog"; } - else + else if(LLStartUp::getStartupState() < STATE_WORLD_INIT) { + // The user is logging in but blocked. + apply_callback = &apply_update_ok_callback; notification_name = "RequiredUpdateDownloadedDialog"; } + else + { + // The user is already logged in; treat like an optional update. + apply_callback = &apply_update_callback; + notification_name = "DownloadBackgroundTip"; + } } else { @@ -3746,6 +3754,7 @@ void LLAppViewer::loadNameCache() // display names cache std::string filename = gDirUtilp->getExpandedFilename(LL_PATH_CACHE, "avatar_name_cache.xml"); + LL_INFOS("AvNameCache") << filename << LL_ENDL; llifstream name_cache_stream(filename); if(name_cache_stream.is_open()) { |