diff options
author | McCabe Maxsted | 2009-12-31 02:20:51 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-12-31 02:20:51 -0700 |
commit | 5f9b05f6bfa676b1142e3a23d5cb40e23463803e (patch) | |
tree | 9d0a62e4c4ac48db8553180c9c6e4372d05c6862 | |
parent | Moved notify when L$ spent from Preferences > General to Preferences > Popups (diff) | |
parent | Disabled sending viewer stats. (diff) | |
download | meta-impy-5f9b05f6bfa676b1142e3a23d5cb40e23463803e.zip meta-impy-5f9b05f6bfa676b1142e3a23d5cb40e23463803e.tar.gz meta-impy-5f9b05f6bfa676b1142e3a23d5cb40e23463803e.tar.bz2 meta-impy-5f9b05f6bfa676b1142e3a23d5cb40e23463803e.tar.xz |
Merge commit 'jacek/next' into next
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llappviewer.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp index 05d4db9..69e80b5 100644 --- a/linden/indra/newview/llappviewer.cpp +++ b/linden/indra/newview/llappviewer.cpp | |||
@@ -2702,7 +2702,7 @@ void LLAppViewer::requestLogout(bool quit_after) | |||
2702 | effectp->setColor(LLColor4U(gAgent.getEffectColor())); | 2702 | effectp->setColor(LLColor4U(gAgent.getEffectColor())); |
2703 | LLHUDManager::getInstance()->sendEffects(); | 2703 | LLHUDManager::getInstance()->sendEffects(); |
2704 | effectp->markDead() ;//remove it. | 2704 | effectp->markDead() ;//remove it. |
2705 | send_stats(); | 2705 | //send_stats(); if we're quitting the server shouldn't need viewer stats. |
2706 | } | 2706 | } |
2707 | else | 2707 | else |
2708 | { | 2708 | { |
@@ -3346,12 +3346,13 @@ void LLAppViewer::idle() | |||
3346 | 3346 | ||
3347 | // Update session stats every large chunk of time | 3347 | // Update session stats every large chunk of time |
3348 | // *FIX: (???) SAMANTHA | 3348 | // *FIX: (???) SAMANTHA |
3349 | /* or don't! part of a larger effort to waste less CPU cycles. -Patrick Sapinski (Sunday, November 29, 2009) | ||
3349 | if (viewer_stats_timer.getElapsedTimeF32() >= SEND_STATS_PERIOD && !gDisconnected) | 3350 | if (viewer_stats_timer.getElapsedTimeF32() >= SEND_STATS_PERIOD && !gDisconnected) |
3350 | { | 3351 | { |
3351 | llinfos << "Transmitting sessions stats" << llendl; | 3352 | llinfos << "Transmitting sessions stats" << llendl; |
3352 | send_stats(); | 3353 | send_stats(); |
3353 | viewer_stats_timer.reset(); | 3354 | viewer_stats_timer.reset(); |
3354 | } | 3355 | } */ |
3355 | 3356 | ||
3356 | // Print the object debugging stats | 3357 | // Print the object debugging stats |
3357 | static LLFrameTimer object_debug_timer; | 3358 | static LLFrameTimer object_debug_timer; |