diff options
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/AssetCache.cs')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/AssetCache.cs | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/OpenSim/Framework/Communications/Cache/AssetCache.cs b/OpenSim/Framework/Communications/Cache/AssetCache.cs index 271934f..95183ad 100644 --- a/OpenSim/Framework/Communications/Cache/AssetCache.cs +++ b/OpenSim/Framework/Communications/Cache/AssetCache.cs | |||
@@ -36,6 +36,7 @@ using libsecondlife.Packets; | |||
36 | using OpenSim.Framework.Interfaces; | 36 | using OpenSim.Framework.Interfaces; |
37 | using OpenSim.Framework.Types; | 37 | using OpenSim.Framework.Types; |
38 | using OpenSim.Framework.Utilities; | 38 | using OpenSim.Framework.Utilities; |
39 | using OpenSim.Framework.Console; | ||
39 | 40 | ||
40 | namespace OpenSim.Framework.Communications.Cache | 41 | namespace OpenSim.Framework.Communications.Cache |
41 | { | 42 | { |
@@ -319,17 +320,19 @@ namespace OpenSim.Framework.Communications.Cache | |||
319 | 320 | ||
320 | public void AssetNotFound(LLUUID assetID) | 321 | public void AssetNotFound(LLUUID assetID) |
321 | { | 322 | { |
322 | /* | ||
323 | if (this.RequestedTextures.ContainsKey(assetID)) | 323 | if (this.RequestedTextures.ContainsKey(assetID)) |
324 | { | 324 | { |
325 | MainLog.Instance.Warn("ASSET CACHE", "sending image not found for {0}", assetID); | ||
325 | AssetRequest req = this.RequestedTextures[assetID]; | 326 | AssetRequest req = this.RequestedTextures[assetID]; |
326 | ImageNotInDatabasePacket notFound = new ImageNotInDatabasePacket(); | 327 | ImageNotInDatabasePacket notFound = new ImageNotInDatabasePacket(); |
327 | notFound.ImageID.ID = assetID; | 328 | notFound.ImageID.ID = assetID; |
328 | req.RequestUser.OutPacket(notFound); | 329 | req.RequestUser.OutPacket(notFound); |
329 | //Console.WriteLine("sending image not found for " + assetID); | ||
330 | |||
331 | this.RequestedTextures.Remove(assetID); | 330 | this.RequestedTextures.Remove(assetID); |
332 | }*/ | 331 | } |
332 | else | ||
333 | { | ||
334 | MainLog.Instance.Error("ASSET CACHE", "Cound not send image not found for {0}", assetID); | ||
335 | } | ||
333 | } | 336 | } |
334 | 337 | ||
335 | #region Assets | 338 | #region Assets |