From 4a07800f14698ea089d5b681ed527667a79626b1 Mon Sep 17 00:00:00 2001 From: MW Date: Sat, 15 Sep 2007 10:39:17 +0000 Subject: Testing to see if this fixes the editing appearance crash, or makes it (or anything else) worse. --- OpenSim/Framework/Communications/Cache/AssetCache.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'OpenSim/Framework/Communications') diff --git a/OpenSim/Framework/Communications/Cache/AssetCache.cs b/OpenSim/Framework/Communications/Cache/AssetCache.cs index 2f4c006..ce7d224 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 -- cgit v1.1