aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llappviewer.cpp25
1 files changed, 17 insertions, 8 deletions
diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp
index 18df447..7d9acf4 100644
--- a/linden/indra/newview/llappviewer.cpp
+++ b/linden/indra/newview/llappviewer.cpp
@@ -3729,10 +3729,18 @@ void LLAppViewer::idleShutdown()
3729 else 3729 else
3730 { 3730 {
3731 mQuitRequested=true; 3731 mQuitRequested=true;
3732//awfixme
3733 forceQuit(); 3732 forceQuit();
3734 } 3733 }
3735 3734
3735
3736 static bool saved_snapshot = false;
3737 if (!saved_snapshot)
3738 {
3739 saved_snapshot = true;
3740 saveFinalSnapshot();
3741 return;
3742 }
3743
3736 // Attempt to close all floaters that might be 3744 // Attempt to close all floaters that might be
3737 // editing things. 3745 // editing things.
3738 if (gFloaterView) 3746 if (gFloaterView)
@@ -3740,6 +3748,13 @@ void LLAppViewer::idleShutdown()
3740 // application is quitting 3748 // application is quitting
3741 gFloaterView->closeAllChildren(true); 3749 gFloaterView->closeAllChildren(true);
3742 } 3750 }
3751
3752 // extra invitation to the Snapshot Floater
3753 // not to show on the loginscreen when relogging
3754 if (gSnapshotFloaterView)
3755 {
3756 gSnapshotFloaterView->closeAllChildren(true);
3757 }
3743 3758
3744 // close IM interface 3759 // close IM interface
3745 if(gIMMgr) 3760 if(gIMMgr)
@@ -3756,13 +3771,7 @@ void LLAppViewer::idleShutdown()
3756 return; 3771 return;
3757 } 3772 }
3758 3773
3759 static bool saved_snapshot = false; 3774
3760 if (!saved_snapshot)
3761 {
3762 saved_snapshot = true;
3763 saveFinalSnapshot();
3764 return;
3765 }
3766 3775
3767 const F32 SHUTDOWN_UPLOAD_SAVE_TIME = 5.f; 3776 const F32 SHUTDOWN_UPLOAD_SAVE_TIME = 5.f;
3768 3777