aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Agent/TextureDownload/UserTextureDownloadService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Agent/TextureDownload/UserTextureDownloadService.cs')
-rw-r--r--OpenSim/Region/Environment/Modules/Agent/TextureDownload/UserTextureDownloadService.cs9
1 files changed, 4 insertions, 5 deletions
diff --git a/OpenSim/Region/Environment/Modules/Agent/TextureDownload/UserTextureDownloadService.cs b/OpenSim/Region/Environment/Modules/Agent/TextureDownload/UserTextureDownloadService.cs
index d6c9877..aab4ad0 100644
--- a/OpenSim/Region/Environment/Modules/Agent/TextureDownload/UserTextureDownloadService.cs
+++ b/OpenSim/Region/Environment/Modules/Agent/TextureDownload/UserTextureDownloadService.cs
@@ -56,11 +56,10 @@ namespace OpenSim.Region.Environment.Modules.Agent.TextureDownload
56 /// <summary> 56 /// <summary>
57 /// We will allow the client to request the same texture n times before dropping further requests 57 /// We will allow the client to request the same texture n times before dropping further requests
58 /// 58 ///
59 /// This number includes repeated requests for the same texture at different resolutions (which we don't 59 /// This number contains repeated requests for the same texture at different resolutions (which
60 /// currently handle properly as far as I know). However, this situation should be handled in a more 60 /// are handled since r7368). However, this situation should be handled in a more sophisticated way.
61 /// sophisticated way.
62 /// </summary> 61 /// </summary>
63 private static readonly int MAX_ALLOWED_TEXTURE_REQUESTS = 5; 62 private static readonly int MAX_ALLOWED_TEXTURE_REQUESTS = 15;
64 63
65 /// <summary> 64 /// <summary>
66 /// XXX Also going to limit requests for found textures. 65 /// XXX Also going to limit requests for found textures.
@@ -149,7 +148,7 @@ namespace OpenSim.Region.Environment.Modules.Agent.TextureDownload
149 148
150 m_scene.AddPendingDownloads(1); 149 m_scene.AddPendingDownloads(1);
151 150
152 TextureSender.TextureSender requestHandler = new TextureSender.TextureSender(m_client, e.DiscardLevel, e.PacketNumber); 151 TextureSender.TextureSender requestHandler = new TextureSender.TextureSender(m_client, e.DiscardLevel, e.PacketNumber, e.Priority);
153 m_textureSenders.Add(e.RequestedAssetID, requestHandler); 152 m_textureSenders.Add(e.RequestedAssetID, requestHandler);
154 153
155 m_scene.AssetCache.GetAsset(e.RequestedAssetID, TextureCallback, true); 154 m_scene.AssetCache.GetAsset(e.RequestedAssetID, TextureCallback, true);