aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Communications/Cache')
-rw-r--r--OpenSim/Framework/Communications/Cache/AssetCache.cs10
1 files changed, 9 insertions, 1 deletions
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
178 } 178 }
179 } 179 }
180 180
181 public void DeleteAsset(LLUUID assetID)
182 {
183 this._assetServer.DeleteAsset(assetID);
184
185 //Todo should delete it from memory too
186 }
187
181 /// <summary> 188 /// <summary>
182 /// 189 ///
183 /// </summary> 190 /// </summary>
@@ -329,6 +336,7 @@ namespace OpenSim.Framework.Communications.Caches
329 336
330 public void AssetNotFound(LLUUID assetID) 337 public void AssetNotFound(LLUUID assetID)
331 { 338 {
339 /*
332 if (this.RequestedTextures.ContainsKey(assetID)) 340 if (this.RequestedTextures.ContainsKey(assetID))
333 { 341 {
334 AssetRequest req = this.RequestedTextures[assetID]; 342 AssetRequest req = this.RequestedTextures[assetID];
@@ -338,7 +346,7 @@ namespace OpenSim.Framework.Communications.Caches
338 //Console.WriteLine("sending image not found for " + assetID); 346 //Console.WriteLine("sending image not found for " + assetID);
339 347
340 this.RequestedTextures.Remove(assetID); 348 this.RequestedTextures.Remove(assetID);
341 } 349 }*/
342 } 350 }
343 351
344 #region Assets 352 #region Assets