diff options
author | Kent Quirk <q@lindenlab.com> | 2011-01-31 19:29:18 -0500 |
---|---|---|
committer | Kent Quirk <q@lindenlab.com> | 2011-01-31 19:29:18 -0500 |
commit | 1aa01ad67fbe15ed43d8bb0bc7fb34a076a484b0 (patch) | |
tree | 2d6ce1e7f503093327251126815da6a613ed9d23 /indra/newview/llappviewer.cpp | |
parent | c62055043380147a760dc7f37ac0900df1a7f789 (diff) | |
parent | 8e31ef838b1c9cc5880ea68d1c09e9137e0021bc (diff) |
Merge
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rw-r--r-- | indra/newview/llappviewer.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index e92042bcd4..9361ae20cf 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -2468,16 +2468,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 { |