diff --git a/OpenSim/Framework/Communications/Cache/AssetCache.cs b/OpenSim/Framework/Communications/Cache/AssetCache.cs index 2f4c006058..ce7d224de6 100644 --- a/OpenSim/Framework/Communications/Cache/AssetCache.cs +++ b/OpenSim/Framework/Communications/Cache/AssetCache.cs @@ -178,6 +178,13 @@ namespace OpenSim.Framework.Communications.Caches } } + public void DeleteAsset(LLUUID assetID) + { + this._assetServer.DeleteAsset(assetID); + + //Todo should delete it from memory too + } + /// /// /// @@ -329,6 +336,7 @@ namespace OpenSim.Framework.Communications.Caches public void AssetNotFound(LLUUID assetID) { + /* if (this.RequestedTextures.ContainsKey(assetID)) { AssetRequest req = this.RequestedTextures[assetID]; @@ -338,7 +346,7 @@ namespace OpenSim.Framework.Communications.Caches //Console.WriteLine("sending image not found for " + assetID); this.RequestedTextures.Remove(assetID); - } + }*/ } #region Assets