diff options
author | Justin Clarke Casey | 2009-04-03 17:14:51 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-04-03 17:14:51 +0000 |
commit | 5146cb7a72d7f41dd9a3c022b48a75138259d977 (patch) | |
tree | 0b1045b389dc49083cebf64798b80a7ea326cd42 /OpenSim/Region/CoreModules/Agent/TextureDownload/UserTextureDownloadService.cs | |
parent | Added one more delegate to Caps, and a few guards, so that these objects can ... (diff) | |
download | opensim-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 '')
-rw-r--r-- | OpenSim/Region/CoreModules/Agent/TextureDownload/UserTextureDownloadService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Agent/TextureDownload/UserTextureDownloadService.cs b/OpenSim/Region/CoreModules/Agent/TextureDownload/UserTextureDownloadService.cs index ae71fda..e4a2b21 100644 --- a/OpenSim/Region/CoreModules/Agent/TextureDownload/UserTextureDownloadService.cs +++ b/OpenSim/Region/CoreModules/Agent/TextureDownload/UserTextureDownloadService.cs | |||
@@ -147,7 +147,7 @@ namespace OpenSim.Region.CoreModules.Agent.TextureDownload | |||
147 | return; | 147 | return; |
148 | } | 148 | } |
149 | 149 | ||
150 | m_scene.AddPendingDownloads(1); | 150 | m_scene.StatsReporter.AddPendingDownloads(1); |
151 | 151 | ||
152 | TextureSender.TextureSender requestHandler = new TextureSender.TextureSender(m_client, e.DiscardLevel, e.PacketNumber); | 152 | TextureSender.TextureSender requestHandler = new TextureSender.TextureSender(m_client, e.DiscardLevel, e.PacketNumber); |
153 | m_textureSenders.Add(e.RequestedAssetID, requestHandler); | 153 | m_textureSenders.Add(e.RequestedAssetID, requestHandler); |