From 27b5fad56dbf94888d93656373a0350752396295 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Mon, 29 Oct 2007 12:59:04 +0000 Subject: * Removed AssetNotFound as it crashes client * Fixed introduced bugs in ScenePresence --- .../Framework/Communications/Cache/AssetCache.cs | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'OpenSim/Framework/Communications/Cache') diff --git a/OpenSim/Framework/Communications/Cache/AssetCache.cs b/OpenSim/Framework/Communications/Cache/AssetCache.cs index 4c18744..1f5b336 100644 --- a/OpenSim/Framework/Communications/Cache/AssetCache.cs +++ b/OpenSim/Framework/Communications/Cache/AssetCache.cs @@ -358,19 +358,19 @@ namespace OpenSim.Framework.Communications.Cache public void AssetNotFound(LLUUID assetID) { - if (this.RequestedTextures.ContainsKey(assetID)) - { - MainLog.Instance.Warn("ASSET CACHE", "sending image not found for {0}", assetID); - AssetRequest req = this.RequestedTextures[assetID]; - ImageNotInDatabasePacket notFound = new ImageNotInDatabasePacket(); - notFound.ImageID.ID = assetID; - req.RequestUser.OutPacket(notFound); - this.RequestedTextures.Remove(assetID); - } - else - { - MainLog.Instance.Error("ASSET CACHE", "Cound not send image not found for {0}", assetID); - } + //if (this.RequestedTextures.ContainsKey(assetID)) + //{ + // MainLog.Instance.Warn("ASSET CACHE", "sending image not found for {0}", assetID); + // AssetRequest req = this.RequestedTextures[assetID]; + // ImageNotInDatabasePacket notFound = new ImageNotInDatabasePacket(); + // notFound.ImageID.ID = assetID; + // req.RequestUser.OutPacket(notFound); + // this.RequestedTextures.Remove(assetID); + //} + //else + //{ + // MainLog.Instance.Error("ASSET CACHE", "Cound not send image not found for {0}", assetID); + //} } #region Assets -- cgit v1.1