aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llappviewer.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-12 14:59:33 -0500
committerJacek Antonelli2008-09-12 14:59:39 -0500
commit80a8bab2a9dd8e77262b001af973212a6cba4a5a (patch)
tree170168232fd4e2eec5f15295a9445535969cdb76 /linden/indra/newview/llappviewer.cpp
parentSecond Life viewer sources 1.21.1-RC (diff)
downloadmeta-impy-80a8bab2a9dd8e77262b001af973212a6cba4a5a.zip
meta-impy-80a8bab2a9dd8e77262b001af973212a6cba4a5a.tar.gz
meta-impy-80a8bab2a9dd8e77262b001af973212a6cba4a5a.tar.bz2
meta-impy-80a8bab2a9dd8e77262b001af973212a6cba4a5a.tar.xz
Second Life viewer sources 1.21.2-RC
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llappviewer.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp
index 6a53300..9851e47 100644
--- a/linden/indra/newview/llappviewer.cpp
+++ b/linden/indra/newview/llappviewer.cpp
@@ -58,6 +58,7 @@
58#include "llfloatersnapshot.h" 58#include "llfloatersnapshot.h"
59#include "llviewerwindow.h" 59#include "llviewerwindow.h"
60#include "llviewerdisplay.h" 60#include "llviewerdisplay.h"
61#include "llviewermedia.h"
61#include "llviewermessage.h" 62#include "llviewermessage.h"
62#include "llviewerobjectlist.h" 63#include "llviewerobjectlist.h"
63#include "llworldmap.h" 64#include "llworldmap.h"
@@ -82,8 +83,6 @@
82# include <sys/file.h> // For initMarkerFile support 83# include <sys/file.h> // For initMarkerFile support
83#endif 84#endif
84 85
85
86
87#include "llnotify.h" 86#include "llnotify.h"
88#include "llviewerkeyboard.h" 87#include "llviewerkeyboard.h"
89#include "lllfsthread.h" 88#include "lllfsthread.h"
@@ -466,9 +465,6 @@ static void settings_modify()
466 gSavedSettings.setU32("VectorizeProcessor", 0 ); 465 gSavedSettings.setU32("VectorizeProcessor", 0 );
467 gSavedSettings.setBOOL("VectorizeSkin", FALSE); 466 gSavedSettings.setBOOL("VectorizeSkin", FALSE);
468#endif 467#endif
469
470 // propagate push to talk preference to current status
471 gSavedSettings.setBOOL("PTTCurrentlyEnabled", TRUE); //gSavedSettings.getBOOL("EnablePushToTalk"));
472} 468}
473 469
474void LLAppViewer::initGridChoice() 470void LLAppViewer::initGridChoice()
@@ -581,7 +577,7 @@ bool LLAppViewer::init()
581 // into the log files during normal startup until AFTER 577 // into the log files during normal startup until AFTER
582 // we run the "program crashed last time" error handler below. 578 // we run the "program crashed last time" error handler below.
583 // 579 //
584 580
585 // Need to do this initialization before we do anything else, since anything 581 // Need to do this initialization before we do anything else, since anything
586 // that touches files should really go through the lldir API 582 // that touches files should really go through the lldir API
587 gDirUtilp->initAppDirs("SecondLife"); 583 gDirUtilp->initAppDirs("SecondLife");
@@ -1364,6 +1360,7 @@ bool LLAppViewer::cleanup()
1364 sImageDecodeThread = NULL; 1360 sImageDecodeThread = NULL;
1365 1361
1366 gImageList.shutdown(); // shutdown again in case a callback added something 1362 gImageList.shutdown(); // shutdown again in case a callback added something
1363 LLUIImageList::getInstance()->cleanUp();
1367 1364
1368 // This should eventually be done in LLAppViewer 1365 // This should eventually be done in LLAppViewer
1369 LLImageJ2C::closeDSO(); 1366 LLImageJ2C::closeDSO();
@@ -1406,9 +1403,11 @@ bool LLAppViewer::cleanup()
1406 1403
1407 LLWeb::loadURLExternal( gLaunchFileOnQuit ); 1404 LLWeb::loadURLExternal( gLaunchFileOnQuit );
1408 } 1405 }
1409 1406
1407 LLViewerMedia::cleanupClass();
1410 1408
1411 llinfos << "Goodbye" << llendflush; 1409 llinfos << "Goodbye" << llendflush;
1410
1412 // return 0; 1411 // return 0;
1413 return true; 1412 return true;
1414} 1413}