From 5dd741267eae5c7dfcd20372ba1b43904dd4503a Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Wed, 16 Jan 2008 05:48:40 +0000 Subject: * Added Agent Time, Pending Downloads, and made Agent Updates/Sec actually accurate. * We're only missing, the script related sim stats counters and the Images time counter and the Pending Uploads counter. The rest of them are actually implemented now. --- OpenSim/Region/Environment/Modules/TextureDownloadModule.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim/Region/Environment/Modules') diff --git a/OpenSim/Region/Environment/Modules/TextureDownloadModule.cs b/OpenSim/Region/Environment/Modules/TextureDownloadModule.cs index 6ebf47f..98a3287 100644 --- a/OpenSim/Region/Environment/Modules/TextureDownloadModule.cs +++ b/OpenSim/Region/Environment/Modules/TextureDownloadModule.cs @@ -137,7 +137,9 @@ namespace OpenSim.Region.Environment.Modules if (TryGetUserTextureService(client.AgentId, out textureService)) { textureService.HandleTextureRequest(client, e); + m_scene.AddPendingDownloads(1); } + } public void ProcessTextureSenders() @@ -169,6 +171,7 @@ namespace OpenSim.Region.Environment.Modules private void TextureSent(TextureSender sender) { sender.Sending = false; + m_scene.AddPendingDownloads(-1); } } } \ No newline at end of file -- cgit v1.1