aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache/AssetCache.cs
diff options
context:
space:
mode:
authorMW2007-08-09 12:59:42 +0000
committerMW2007-08-09 12:59:42 +0000
commita56a17fab20e1ef94e70dbf6648ebb2f437de364 (patch)
treee19a6a858725ffadbcf34c8f9a7409db350a5681 /OpenSim/Framework/Communications/Cache/AssetCache.cs
parentTransition between not flying / flying should be smoother (diff)
downloadopensim-SC_OLD-a56a17fab20e1ef94e70dbf6648ebb2f437de364.zip
opensim-SC_OLD-a56a17fab20e1ef94e70dbf6648ebb2f437de364.tar.gz
opensim-SC_OLD-a56a17fab20e1ef94e70dbf6648ebb2f437de364.tar.bz2
opensim-SC_OLD-a56a17fab20e1ef94e70dbf6648ebb2f437de364.tar.xz
Making sure my local working copy is in sync with svn before I start the job of enabling the new SceneObject classes.
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/AssetCache.cs')
-rw-r--r--OpenSim/Framework/Communications/Cache/AssetCache.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Framework/Communications/Cache/AssetCache.cs b/OpenSim/Framework/Communications/Cache/AssetCache.cs
index acdd593..3866e21 100644
--- a/OpenSim/Framework/Communications/Cache/AssetCache.cs
+++ b/OpenSim/Framework/Communications/Cache/AssetCache.cs
@@ -224,7 +224,7 @@ namespace OpenSim.Framework.Communications.Caches
224 lock (this.SendingTextures) 224 lock (this.SendingTextures)
225 { 225 {
226 this.SendingTextures.Remove(sender.request.ImageInfo.FullID); 226 this.SendingTextures.Remove(sender.request.ImageInfo.FullID);
227 this.AvatarRecievedTextures[sender.request.RequestUser.AgentId].Add(sender.request.ImageInfo.FullID); 227 // this.AvatarRecievedTextures[sender.request.RequestUser.AgentId].Add(sender.request.ImageInfo.FullID);
228 } 228 }
229 } 229 }
230 } 230 }
@@ -634,7 +634,8 @@ namespace OpenSim.Framework.Communications.Caches
634 public class TextureSender 634 public class TextureSender
635 { 635 {
636 public AssetRequest request; 636 public AssetRequest request;
637 637 private int counter = 0;
638
638 public TextureSender(AssetRequest req) 639 public TextureSender(AssetRequest req)
639 { 640 {
640 request = req; 641 request = req;
@@ -644,8 +645,9 @@ namespace OpenSim.Framework.Communications.Caches
644 public bool SendTexture() 645 public bool SendTexture()
645 { 646 {
646 SendPacket(); 647 SendPacket();
648 counter++;
647 649
648 if ((request.PacketCounter > request.NumPackets) |(request.NumPackets ==1)) 650 if ((request.PacketCounter > request.NumPackets) | (counter >120) |(request.NumPackets ==1))
649 { 651 {
650 return true; 652 return true;
651 } 653 }