aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/TextureDownloadModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Modules/TextureDownloadModule.cs')
-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