aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/ClientView.cs
diff options
context:
space:
mode:
authorMW2007-12-07 22:47:11 +0000
committerMW2007-12-07 22:47:11 +0000
commit87b337ebf9f36ca3b2af94631ec9a235434877ac (patch)
tree19e83a62d69abc389268b0db07f816bd817908d9 /OpenSim/Region/ClientStack/ClientView.cs
parent"Borrowed" the LLSD class from a older version of libsl, so that our LLSD dec... (diff)
downloadopensim-SC_OLD-87b337ebf9f36ca3b2af94631ec9a235434877ac.zip
opensim-SC_OLD-87b337ebf9f36ca3b2af94631ec9a235434877ac.tar.gz
opensim-SC_OLD-87b337ebf9f36ca3b2af94631ec9a235434877ac.tar.bz2
opensim-SC_OLD-87b337ebf9f36ca3b2af94631ec9a235434877ac.tar.xz
Enabled the TextureDownloadModule, so that hopefully I might get some feedback, as to if it makes the texture problem better or worse. As I plan/hope to work on texture/asset downloading this weekend.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.cs26
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: