diff options
* Trying to address TextureSender issues
* The BlockingQueue exposes Contains so we can make sure we don't add a TextureSender to the queue if there's already one present
* introduced some TryGetValue and various code convention stuff
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.cs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs index 414916c..066efef 100644 --- a/OpenSim/Region/ClientStack/ClientView.cs +++ b/OpenSim/Region/ClientStack/ClientView.cs | |||
@@ -2973,7 +2973,6 @@ namespace OpenSim.Region.ClientStack | |||
2973 | //Console.WriteLine("image request: " + Pack.ToString()); | 2973 | //Console.WriteLine("image request: " + Pack.ToString()); |
2974 | for (int i = 0; i < imageRequest.RequestImage.Length; i++) | 2974 | for (int i = 0; i < imageRequest.RequestImage.Length; i++) |
2975 | { | 2975 | { |
2976 | // still working on the Texture download module so for now using old method | ||
2977 | if (OnRequestTexture != null) | 2976 | if (OnRequestTexture != null) |
2978 | { | 2977 | { |
2979 | TextureRequestArgs args = new TextureRequestArgs(); | 2978 | TextureRequestArgs args = new TextureRequestArgs(); |
@@ -2984,10 +2983,6 @@ namespace OpenSim.Region.ClientStack | |||
2984 | 2983 | ||
2985 | OnRequestTexture(this, args); | 2984 | OnRequestTexture(this, args); |
2986 | } | 2985 | } |
2987 | |||
2988 | // m_assetCache.AddTextureRequest(this, imageRequest.RequestImage[i].Image, | ||
2989 | // imageRequest.RequestImage[i].Packet, | ||
2990 | // imageRequest.RequestImage[i].DiscardLevel); | ||
2991 | } | 2986 | } |
2992 | break; | 2987 | break; |
2993 | case PacketType.TransferRequest: | 2988 | case PacketType.TransferRequest: |