Collection of minor edits from Imprudence to fix bugs, etcetera. Also updated the version.

Also made the version almost entirely hard-coded to remove any remnants of Inertia's spoofer.

Signed-off-by: Beeks <HgDelirium@gmail.com>
This commit is contained in:
Beeks
2010-09-21 14:49:46 -04:00
parent 64abd1889f
commit 2faa13a37b
19 changed files with 69 additions and 37 deletions

View File

@@ -647,9 +647,9 @@ public:
*/
void send_stats()
{
// <edit> Don't want to send ViewerStats
if(1) return;
// </edit>
// <edit> Don't want to send ViewerStats
if(1) return;
// </edit>
// IW 9/23/02 I elected not to move this into LLViewerStats
// because it depends on too many viewer.cpp globals.
// Someday we may want to merge all our stats into a central place
@@ -695,10 +695,7 @@ void send_stats()
// send fps only for time app spends in foreground
agent["fps"] = (F32)gForegroundFrameCount / gForegroundTime.getElapsedTimeF32();
// <edit>
//agent["version"] = gCurrentVersion;
agent["version"] = gSavedSettings.getString("SpecifiedChannel");
// </edit>
agent["version"] = gCurrentVersion;
std::string language = LLUI::getLanguage();
agent["language"] = language;