diff options
author | Patrick Sapinski | 2009-11-30 23:02:10 -0500 |
---|---|---|
committer | Jacek Antonelli | 2009-12-30 23:53:05 -0600 |
commit | 2062c600d5d2a4bec1241df2419a863523bcc068 (patch) | |
tree | 3f53d3f9a1b1ba500c0a560f682b5c3ff58897d5 /linden/indra | |
parent | Added script creation resource to the script editor's help menu (diff) | |
download | meta-impy-2062c600d5d2a4bec1241df2419a863523bcc068.zip meta-impy-2062c600d5d2a4bec1241df2419a863523bcc068.tar.gz meta-impy-2062c600d5d2a4bec1241df2419a863523bcc068.tar.bz2 meta-impy-2062c600d5d2a4bec1241df2419a863523bcc068.tar.xz |
Disabled sending viewer stats.
It is useless to the viewer and also transmits some sensitive
information about the user's computer to LL.
Signed-off-by: Jacek Antonelli <jacek.antonelli@gmail.com>
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; |