mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
* 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
This commit is contained in:
@@ -2973,7 +2973,6 @@ namespace OpenSim.Region.ClientStack
|
||||
//Console.WriteLine("image request: " + Pack.ToString());
|
||||
for (int i = 0; i < imageRequest.RequestImage.Length; i++)
|
||||
{
|
||||
// still working on the Texture download module so for now using old method
|
||||
if (OnRequestTexture != null)
|
||||
{
|
||||
TextureRequestArgs args = new TextureRequestArgs();
|
||||
@@ -2984,10 +2983,6 @@ namespace OpenSim.Region.ClientStack
|
||||
|
||||
OnRequestTexture(this, args);
|
||||
}
|
||||
|
||||
// m_assetCache.AddTextureRequest(this, imageRequest.RequestImage[i].Image,
|
||||
// imageRequest.RequestImage[i].Packet,
|
||||
// imageRequest.RequestImage[i].DiscardLevel);
|
||||
}
|
||||
break;
|
||||
case PacketType.TransferRequest:
|
||||
|
||||
Reference in New Issue
Block a user