diff options
author | lbsa71 | 2007-10-29 12:59:04 +0000 |
---|---|---|
committer | lbsa71 | 2007-10-29 12:59:04 +0000 |
commit | 27b5fad56dbf94888d93656373a0350752396295 (patch) | |
tree | 936048ba9678d9364dcada3ce83bab066e7b8543 /OpenSim/Framework/Communications | |
parent | * ModuleLoader: Privatized some too-public fields (diff) | |
download | opensim-SC_OLD-27b5fad56dbf94888d93656373a0350752396295.zip opensim-SC_OLD-27b5fad56dbf94888d93656373a0350752396295.tar.gz opensim-SC_OLD-27b5fad56dbf94888d93656373a0350752396295.tar.bz2 opensim-SC_OLD-27b5fad56dbf94888d93656373a0350752396295.tar.xz |
* Removed AssetNotFound as it crashes client
* Fixed introduced bugs in ScenePresence
Diffstat (limited to 'OpenSim/Framework/Communications')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/AssetCache.cs | 26 |
1 files changed, 13 insertions, 13 deletions
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 | |||
358 | 358 | ||
359 | public void AssetNotFound(LLUUID assetID) | 359 | public void AssetNotFound(LLUUID assetID) |
360 | { | 360 | { |
361 | if (this.RequestedTextures.ContainsKey(assetID)) | 361 | //if (this.RequestedTextures.ContainsKey(assetID)) |
362 | { | 362 | //{ |
363 | MainLog.Instance.Warn("ASSET CACHE", "sending image not found for {0}", assetID); | 363 | // MainLog.Instance.Warn("ASSET CACHE", "sending image not found for {0}", assetID); |
364 | AssetRequest req = this.RequestedTextures[assetID]; | 364 | // AssetRequest req = this.RequestedTextures[assetID]; |
365 | ImageNotInDatabasePacket notFound = new ImageNotInDatabasePacket(); | 365 | // ImageNotInDatabasePacket notFound = new ImageNotInDatabasePacket(); |
366 | notFound.ImageID.ID = assetID; | 366 | // notFound.ImageID.ID = assetID; |
367 | req.RequestUser.OutPacket(notFound); | 367 | // req.RequestUser.OutPacket(notFound); |
368 | this.RequestedTextures.Remove(assetID); | 368 | // this.RequestedTextures.Remove(assetID); |
369 | } | 369 | //} |
370 | else | 370 | //else |
371 | { | 371 | //{ |
372 | MainLog.Instance.Error("ASSET CACHE", "Cound not send image not found for {0}", assetID); | 372 | // MainLog.Instance.Error("ASSET CACHE", "Cound not send image not found for {0}", assetID); |
373 | } | 373 | //} |
374 | } | 374 | } |
375 | 375 | ||
376 | #region Assets | 376 | #region Assets |