aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications
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
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')
-rw-r--r--OpenSim/Framework/Communications/Cache/AssetCache.cs8
-rw-r--r--OpenSim/Framework/Communications/Capabilities/Caps.cs2
2 files changed, 6 insertions, 4 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 }
diff --git a/OpenSim/Framework/Communications/Capabilities/Caps.cs b/OpenSim/Framework/Communications/Capabilities/Caps.cs
index 82ef08d..d56cf6f 100644
--- a/OpenSim/Framework/Communications/Capabilities/Caps.cs
+++ b/OpenSim/Framework/Communications/Capabilities/Caps.cs
@@ -304,7 +304,7 @@ namespace OpenSim.Region.Capabilities
304 private LLUUID newAssetID; 304 private LLUUID newAssetID;
305 private LLUUID inventoryItemID; 305 private LLUUID inventoryItemID;
306 private BaseHttpServer httpListener; 306 private BaseHttpServer httpListener;
307 private bool SaveAssets = false; 307 private bool SaveAssets = true;
308 private string m_assetName = ""; 308 private string m_assetName = "";
309 309
310 /// <summary> 310 /// <summary>