diff options
author | Andrew A. de Laix <alain@lindenlab.com> | 2011-01-27 11:37:00 -0800 |
---|---|---|
committer | Andrew A. de Laix <alain@lindenlab.com> | 2011-01-27 11:37:00 -0800 |
commit | 9653c41d3d0532a323122b0cd1b6399721bf8be8 (patch) | |
tree | d4ca5bfb3223868db31199c06ac8bdfa456f4958 /indra/newview/llappviewer.cpp | |
parent | 12be2e00d92cdef6296035d7f8219127a8449b94 (diff) |
more for storm 940: treat the manditory download after login like an optional one.
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rw-r--r-- | indra/newview/llappviewer.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index ace1de6131..9cc0ab377c 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -2468,19 +2468,23 @@ 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 if(LLStartUp::getStartupState() < STATE_WORLD_INIT) { + // The user is logging in but blocked. + apply_callback = &apply_update_ok_callback; notification_name = "RequiredUpdateDownloadedDialog"; } else { - ; // Do nothing because user is already logged in. + // The user is already logged in; treat like an optional update. + apply_callback = &apply_update_callback; + notification_name = "DownloadBackgroundDialog"; } } else |