diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.cs | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs index 2ec4fef..dc229f3 100644 --- a/OpenSim/Region/ClientStack/ClientView.cs +++ b/OpenSim/Region/ClientStack/ClientView.cs | |||
@@ -2728,19 +2728,19 @@ namespace OpenSim.Region.ClientStack | |||
2728 | for (int i = 0; i < imageRequest.RequestImage.Length; i++) | 2728 | for (int i = 0; i < imageRequest.RequestImage.Length; i++) |
2729 | { | 2729 | { |
2730 | // still working on the Texture download module so for now using old method | 2730 | // still working on the Texture download module so for now using old method |
2731 | // TextureRequestArgs args = new TextureRequestArgs(); | 2731 | if (OnRequestTexture != null) |
2732 | // args.RequestedAssetID = imageRequest.RequestImage[i].Image; | 2732 | { |
2733 | // args.DiscardLevel = imageRequest.RequestImage[i].DiscardLevel; | 2733 | TextureRequestArgs args = new TextureRequestArgs(); |
2734 | // args.PacketNumber = imageRequest.RequestImage[i].Packet; | 2734 | args.RequestedAssetID = imageRequest.RequestImage[i].Image; |
2735 | 2735 | args.DiscardLevel = imageRequest.RequestImage[i].DiscardLevel; | |
2736 | // if (OnRequestTexture != null) | 2736 | args.PacketNumber = imageRequest.RequestImage[i].Packet; |
2737 | // { | 2737 | |
2738 | // OnRequestTexture(this, args); | 2738 | OnRequestTexture(this, args); |
2739 | // } | 2739 | } |
2740 | 2740 | ||
2741 | m_assetCache.AddTextureRequest(this, imageRequest.RequestImage[i].Image, | 2741 | // m_assetCache.AddTextureRequest(this, imageRequest.RequestImage[i].Image, |
2742 | imageRequest.RequestImage[i].Packet, | 2742 | // imageRequest.RequestImage[i].Packet, |
2743 | imageRequest.RequestImage[i].DiscardLevel); | 2743 | // imageRequest.RequestImage[i].DiscardLevel); |
2744 | } | 2744 | } |
2745 | break; | 2745 | break; |
2746 | case PacketType.TransferRequest: | 2746 | case PacketType.TransferRequest: |