Testing to see if this fixes the editing appearance crash, or makes it (or anything else) worse.

afrisby
MW 2007-09-15 10:39:17 +00:00
parent 5a94814bbe
commit 4a07800f14
1 changed files with 9 additions and 1 deletions

View File

@ -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
}
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
@ -329,6 +336,7 @@ namespace OpenSim.Framework.Communications.Caches
public void AssetNotFound(LLUUID assetID) public void AssetNotFound(LLUUID assetID)
{ {
/*
if (this.RequestedTextures.ContainsKey(assetID)) if (this.RequestedTextures.ContainsKey(assetID))
{ {
AssetRequest req = this.RequestedTextures[assetID]; AssetRequest req = this.RequestedTextures[assetID];
@ -338,7 +346,7 @@ namespace OpenSim.Framework.Communications.Caches
//Console.WriteLine("sending image not found for " + assetID); //Console.WriteLine("sending image not found for " + assetID);
this.RequestedTextures.Remove(assetID); this.RequestedTextures.Remove(assetID);
} }*/
} }
#region Assets #region Assets