aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Agent/TextureDownload/TextureDownloadModule.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-04-03 17:14:51 +0000
committerJustin Clarke Casey2009-04-03 17:14:51 +0000
commit5146cb7a72d7f41dd9a3c022b48a75138259d977 (patch)
tree0b1045b389dc49083cebf64798b80a7ea326cd42 /OpenSim/Region/CoreModules/Agent/TextureDownload/TextureDownloadModule.cs
parentAdded one more delegate to Caps, and a few guards, so that these objects can ... (diff)
downloadopensim-SC_OLD-5146cb7a72d7f41dd9a3c022b48a75138259d977.zip
opensim-SC_OLD-5146cb7a72d7f41dd9a3c022b48a75138259d977.tar.gz
opensim-SC_OLD-5146cb7a72d7f41dd9a3c022b48a75138259d977.tar.bz2
opensim-SC_OLD-5146cb7a72d7f41dd9a3c022b48a75138259d977.tar.xz
* refactor: Call StatsReporter methods directly rather than through Scene (as WebStatsModule was doing)
* Assume that StatsReporter is always present (possibly as a no-op impl) rather than doing null checks
Diffstat (limited to 'OpenSim/Region/CoreModules/Agent/TextureDownload/TextureDownloadModule.cs')
-rw-r--r--OpenSim/Region/CoreModules/Agent/TextureDownload/TextureDownloadModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Agent/TextureDownload/TextureDownloadModule.cs b/OpenSim/Region/CoreModules/Agent/TextureDownload/TextureDownloadModule.cs
index 124f0f6..f976087 100644
--- a/OpenSim/Region/CoreModules/Agent/TextureDownload/TextureDownloadModule.cs
+++ b/OpenSim/Region/CoreModules/Agent/TextureDownload/TextureDownloadModule.cs
@@ -291,7 +291,7 @@ namespace OpenSim.Region.CoreModules.Agent.TextureDownload
291 { 291 {
292 sender.Sending = false; 292 sender.Sending = false;
293 //m_log.DebugFormat("[TEXTURE]: Removing download stat for {0}", sender.assetID); 293 //m_log.DebugFormat("[TEXTURE]: Removing download stat for {0}", sender.assetID);
294 m_scene.AddPendingDownloads(-1); 294 m_scene.StatsReporter.AddPendingDownloads(-1);
295 } 295 }
296 } 296 }
297} 297}