aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMW2007-09-15 10:39:17 +0000
committerMW2007-09-15 10:39:17 +0000
commit4a07800f14698ea089d5b681ed527667a79626b1 (patch)
treef9e2918d76e785b9909afc888ae9c77ff03a3ef0
parentStart adding zip target to prebuild for nant (diff)
downloadopensim-SC_OLD-4a07800f14698ea089d5b681ed527667a79626b1.zip
opensim-SC_OLD-4a07800f14698ea089d5b681ed527667a79626b1.tar.gz
opensim-SC_OLD-4a07800f14698ea089d5b681ed527667a79626b1.tar.bz2
opensim-SC_OLD-4a07800f14698ea089d5b681ed527667a79626b1.tar.xz
Testing to see if this fixes the editing appearance crash, or makes it (or anything else) worse.
-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