From 4d749d8c6986498547f9a61406105e93445960b4 Mon Sep 17 00:00:00 2001 From: Freaky Tech Date: Tue, 3 Mar 2015 21:46:47 +0100 Subject: removed replacement texture in UDP Texture code. The replacement texture introduces false data into viewer cache. Removing that decreases the necessity for clearing the viewer cache. The viewer knows with ImageNotInDatabase that it is missing and can therefore know what to do about it a lot better than the sim does. Signed-off-by: BlueWall --- OpenSim/Region/ClientStack/Linden/UDP/LLImageManager.cs | 9 --------- 1 file changed, 9 deletions(-) (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLImageManager.cs') diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLImageManager.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLImageManager.cs index 41dd4d1..bdb33dd 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLImageManager.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLImageManager.cs @@ -54,7 +54,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); private bool m_shuttingdown; - private AssetBase m_missingImage; private IAssetService m_assetCache; private IJ2KDecoder m_j2kDecodeModule; @@ -73,19 +72,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP /// public IClientAPI Client { get; private set; } - public AssetBase MissingImage { get { return m_missingImage; } } - public LLImageManager(IClientAPI client, IAssetService pAssetCache, IJ2KDecoder pJ2kDecodeModule) { Client = client; m_assetCache = pAssetCache; - if (pAssetCache != null) - m_missingImage = pAssetCache.Get("5748decc-f629-461c-9a36-a35a221fe21f"); - - if (m_missingImage == null) - m_log.Error("[ClientView] - Couldn't set missing image asset, falling back to missing image packet. This is known to crash the client"); - m_j2kDecodeModule = pJ2kDecodeModule; } -- cgit v1.1