diff options
Diffstat (limited to 'linden/indra/newview/llappviewer.cpp')
-rw-r--r-- | linden/indra/newview/llappviewer.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp index 49991b4..35acafc 100644 --- a/linden/indra/newview/llappviewer.cpp +++ b/linden/indra/newview/llappviewer.cpp | |||
@@ -202,8 +202,6 @@ extern BOOL gDebugGL; | |||
202 | 202 | ||
203 | //////////////////////////////////////////////////////////// | 203 | //////////////////////////////////////////////////////////// |
204 | // All from the last globals push... | 204 | // All from the last globals push... |
205 | BOOL gHandleKeysAsync = FALSE; | ||
206 | |||
207 | const F32 DEFAULT_AFK_TIMEOUT = 5.f * 60.f; // time with no input before user flagged as Away From Keyboard | 205 | const F32 DEFAULT_AFK_TIMEOUT = 5.f * 60.f; // time with no input before user flagged as Away From Keyboard |
208 | 206 | ||
209 | F32 gSimLastTime; // Used in LLAppViewer::init and send_stats() | 207 | F32 gSimLastTime; // Used in LLAppViewer::init and send_stats() |
@@ -234,7 +232,7 @@ F32 gFPSClamped = 10.f; // Pretend we start at target rate. | |||
234 | F32 gFrameDTClamped = 0.f; // Time between adjacent checks to network for packets | 232 | F32 gFrameDTClamped = 0.f; // Time between adjacent checks to network for packets |
235 | U64 gStartTime = 0; // gStartTime is "private", used only to calculate gFrameTimeSeconds | 233 | U64 gStartTime = 0; // gStartTime is "private", used only to calculate gFrameTimeSeconds |
236 | U32 gFrameStalls = 0; | 234 | U32 gFrameStalls = 0; |
237 | const F64 FRAME_STALL_THRESHOLD = 5.0; | 235 | const F64 FRAME_STALL_THRESHOLD = 1.0; |
238 | 236 | ||
239 | LLTimer gRenderStartTime; | 237 | LLTimer gRenderStartTime; |
240 | LLFrameTimer gForegroundTime; | 238 | LLFrameTimer gForegroundTime; |
@@ -404,7 +402,6 @@ static void settings_to_globals() | |||
404 | gShowObjectUpdates = gSavedSettings.getBOOL("ShowObjectUpdates"); | 402 | gShowObjectUpdates = gSavedSettings.getBOOL("ShowObjectUpdates"); |
405 | gMapScale = gSavedSettings.getF32("MapScale"); | 403 | gMapScale = gSavedSettings.getF32("MapScale"); |
406 | gMiniMapScale = gSavedSettings.getF32("MiniMapScale"); | 404 | gMiniMapScale = gSavedSettings.getF32("MiniMapScale"); |
407 | gHandleKeysAsync = gSavedSettings.getBOOL("AsyncKeyboard"); | ||
408 | LLHoverView::sShowHoverTips = gSavedSettings.getBOOL("ShowHoverTips"); | 405 | LLHoverView::sShowHoverTips = gSavedSettings.getBOOL("ShowHoverTips"); |
409 | 406 | ||
410 | LLCubeMap::sUseCubeMaps = LLFeatureManager::getInstance()->isFeatureAvailable("RenderCubeMap"); | 407 | LLCubeMap::sUseCubeMaps = LLFeatureManager::getInstance()->isFeatureAvailable("RenderCubeMap"); |
@@ -1379,14 +1376,17 @@ bool LLAppViewer::cleanup() | |||
1379 | LLWatchdog::getInstance()->cleanup(); | 1376 | LLWatchdog::getInstance()->cleanup(); |
1380 | 1377 | ||
1381 | end_messaging_system(); | 1378 | end_messaging_system(); |
1379 | llinfos << "Message system deleted." << llendflush; | ||
1382 | 1380 | ||
1383 | // *NOTE:Mani - The following call is not thread safe. | 1381 | // *NOTE:Mani - The following call is not thread safe. |
1384 | LLCurl::cleanupClass(); | 1382 | LLCurl::cleanupClass(); |
1383 | llinfos << "LLCurl cleaned up." << llendflush; | ||
1385 | 1384 | ||
1386 | // If we're exiting to launch an URL, do that here so the screen | 1385 | // If we're exiting to launch an URL, do that here so the screen |
1387 | // is at the right resolution before we launch IE. | 1386 | // is at the right resolution before we launch IE. |
1388 | if (!gLaunchFileOnQuit.empty()) | 1387 | if (!gLaunchFileOnQuit.empty()) |
1389 | { | 1388 | { |
1389 | llinfos << "Launch file on quit." << llendflush; | ||
1390 | #if LL_WINDOWS | 1390 | #if LL_WINDOWS |
1391 | // Indicate an application is starting. | 1391 | // Indicate an application is starting. |
1392 | SetCursor(LoadCursor(NULL, IDC_WAIT)); | 1392 | SetCursor(LoadCursor(NULL, IDC_WAIT)); |
@@ -1396,6 +1396,7 @@ bool LLAppViewer::cleanup() | |||
1396 | ms_sleep(1000); | 1396 | ms_sleep(1000); |
1397 | 1397 | ||
1398 | LLWeb::loadURLExternal( gLaunchFileOnQuit ); | 1398 | LLWeb::loadURLExternal( gLaunchFileOnQuit ); |
1399 | llinfos << "File launched." << llendflush; | ||
1399 | } | 1400 | } |
1400 | 1401 | ||
1401 | llinfos << "Goodbye" << llendflush; | 1402 | llinfos << "Goodbye" << llendflush; |
@@ -2149,7 +2150,6 @@ void LLAppViewer::cleanupSavedSettings() | |||
2149 | 2150 | ||
2150 | gSavedSettings.setF32("MapScale", gMapScale ); | 2151 | gSavedSettings.setF32("MapScale", gMapScale ); |
2151 | gSavedSettings.setF32("MiniMapScale", gMiniMapScale ); | 2152 | gSavedSettings.setF32("MiniMapScale", gMiniMapScale ); |
2152 | gSavedSettings.setBOOL("AsyncKeyboard", gHandleKeysAsync); | ||
2153 | gSavedSettings.setBOOL("ShowHoverTips", LLHoverView::sShowHoverTips); | 2153 | gSavedSettings.setBOOL("ShowHoverTips", LLHoverView::sShowHoverTips); |
2154 | 2154 | ||
2155 | // Some things are cached in LLAgent. | 2155 | // Some things are cached in LLAgent. |