aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Communications/Cache/AssetCache.cs31
1 files changed, 16 insertions, 15 deletions
diff --git a/OpenSim/Framework/Communications/Cache/AssetCache.cs b/OpenSim/Framework/Communications/Cache/AssetCache.cs
index 0904823..dacb321 100644
--- a/OpenSim/Framework/Communications/Cache/AssetCache.cs
+++ b/OpenSim/Framework/Communications/Cache/AssetCache.cs
@@ -457,21 +457,22 @@ namespace OpenSim.Framework.Communications.Cache
457 457
458 public void AssetNotFound(LLUUID assetID) 458 public void AssetNotFound(LLUUID assetID)
459 { 459 {
460 m_log.ErrorFormat("[ASSET CACHE]: Unhandled AssetNotFound for {0}", assetID); 460 //m_log.ErrorFormat("[ASSET CACHE]: Unhandled AssetNotFound for {0}", assetID);
461 461
462 //if (this.RequestedTextures.ContainsKey(assetID)) 462 AssetRequest req;
463 //{ 463
464 // m_log.WarnFormat("[ASSET CACHE]: sending image not found for {0}", assetID); 464 if (RequestedTextures.TryGetValue(assetID, out req))
465 // AssetRequest req = this.RequestedTextures[assetID]; 465 {
466 // ImageNotInDatabasePacket notFound = new ImageNotInDatabasePacket(); 466 m_log.WarnFormat("[ASSET CACHE]: sending image not found for {0}", assetID);
467 // notFound.ImageID.ID = assetID; 467 ImageNotInDatabasePacket notFound = new ImageNotInDatabasePacket();
468 // req.RequestUser.OutPacket(notFound); 468 notFound.ImageID.ID = assetID;
469 // this.RequestedTextures.Remove(assetID); 469 req.RequestUser.OutPacket(notFound, ThrottleOutPacketType.Unknown);
470 //} 470 RequestedTextures.Remove(assetID);
471 //else 471 }
472 //{ 472 else
473 // m_log.ErrorFormat("[ASSET CACHE]: Cound not send image not found for {0}", assetID); 473 {
474 //} 474 m_log.ErrorFormat("[ASSET CACHE]: Asset [{0}] not found, but couldn't find any users to send to ", assetID);
475 }
475 } 476 }
476 477
477 private int CalculateNumPackets(byte[] data) 478 private int CalculateNumPackets(byte[] data)