aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llappviewer.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-04-07 01:09:14 -0700
committerMcCabe Maxsted2010-04-07 01:09:14 -0700
commit35eddbc20b07740903550783b645d122186b28e2 (patch)
tree2b05fb58c760065384c56adabb71077285f423e9 /linden/indra/newview/llappviewer.cpp
parentRenamed '2nd Life' and '1st Life' profile tabs to 'Avatar' and 'Real Life,' w... (diff)
downloadmeta-impy-35eddbc20b07740903550783b645d122186b28e2.zip
meta-impy-35eddbc20b07740903550783b645d122186b28e2.tar.gz
meta-impy-35eddbc20b07740903550783b645d122186b28e2.tar.bz2
meta-impy-35eddbc20b07740903550783b645d122186b28e2.tar.xz
Ported disable login/tp screen options from Emerald (in Preferences > Advanced)
Diffstat (limited to 'linden/indra/newview/llappviewer.cpp')
-rw-r--r--linden/indra/newview/llappviewer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp
index e4cd3af..9b7eadf 100644
--- a/linden/indra/newview/llappviewer.cpp
+++ b/linden/indra/newview/llappviewer.cpp
@@ -3673,7 +3673,7 @@ void LLAppViewer::idleShutdown()
3673 static S32 total_uploads = 0; 3673 static S32 total_uploads = 0;
3674 // Sometimes total upload count can change during logout. 3674 // Sometimes total upload count can change during logout.
3675 total_uploads = llmax(total_uploads, pending_uploads); 3675 total_uploads = llmax(total_uploads, pending_uploads);
3676 gViewerWindow->setShowProgress(TRUE); 3676 gViewerWindow->setShowProgress(!gSavedSettings.getBOOL("DisableLoginLogoutScreens"));
3677 S32 finished_uploads = total_uploads - pending_uploads; 3677 S32 finished_uploads = total_uploads - pending_uploads;
3678 F32 percent = 100.f * finished_uploads / total_uploads; 3678 F32 percent = 100.f * finished_uploads / total_uploads;
3679 gViewerWindow->setProgressPercent(percent); 3679 gViewerWindow->setProgressPercent(percent);
@@ -3687,7 +3687,7 @@ void LLAppViewer::idleShutdown()
3687 sendLogoutRequest(); 3687 sendLogoutRequest();
3688 3688
3689 // Wait for a LogoutReply message 3689 // Wait for a LogoutReply message
3690 gViewerWindow->setShowProgress(TRUE); 3690 gViewerWindow->setShowProgress(!gSavedSettings.getBOOL("DisableLoginLogoutScreens"));
3691 gViewerWindow->setProgressPercent(100.f); 3691 gViewerWindow->setProgressPercent(100.f);
3692 gViewerWindow->setProgressString("Logging out..."); 3692 gViewerWindow->setProgressString("Logging out...");
3693 return; 3693 return;