aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules
diff options
context:
space:
mode:
authorTeravus Ovares2008-01-16 05:48:40 +0000
committerTeravus Ovares2008-01-16 05:48:40 +0000
commit5dd741267eae5c7dfcd20372ba1b43904dd4503a (patch)
tree15bc97bf2552a6fb45aec9eea401aa9a80190efc /OpenSim/Region/Environment/Modules
parent* Added Packets In/s, Packets Out/s and Current un_acked Packets to the SimSt... (diff)
downloadopensim-SC-5dd741267eae5c7dfcd20372ba1b43904dd4503a.zip
opensim-SC-5dd741267eae5c7dfcd20372ba1b43904dd4503a.tar.gz
opensim-SC-5dd741267eae5c7dfcd20372ba1b43904dd4503a.tar.bz2
opensim-SC-5dd741267eae5c7dfcd20372ba1b43904dd4503a.tar.xz
* 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.
Diffstat (limited to 'OpenSim/Region/Environment/Modules')
-rw-r--r--OpenSim/Region/Environment/Modules/TextureDownloadModule.cs3
1 files changed, 3 insertions, 0 deletions
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
137 if (TryGetUserTextureService(client.AgentId, out textureService)) 137 if (TryGetUserTextureService(client.AgentId, out textureService))
138 { 138 {
139 textureService.HandleTextureRequest(client, e); 139 textureService.HandleTextureRequest(client, e);
140 m_scene.AddPendingDownloads(1);
140 } 141 }
142
141 } 143 }
142 144
143 public void ProcessTextureSenders() 145 public void ProcessTextureSenders()
@@ -169,6 +171,7 @@ namespace OpenSim.Region.Environment.Modules
169 private void TextureSent(TextureSender sender) 171 private void TextureSent(TextureSender sender)
170 { 172 {
171 sender.Sending = false; 173 sender.Sending = false;
174 m_scene.AddPendingDownloads(-1);
172 } 175 }
173 } 176 }
174} \ No newline at end of file 177} \ No newline at end of file