From 8559f9bbbacf417e7375e47e8267e7e11ea0cc8d Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Tue, 19 May 2009 18:34:04 +0000 Subject: From: Alan Webb The image render module is returning everything twice. Once with data, once with null. This change adds a return to stop this behavior. This was not apparent until I added a message to the catching routine which issued a warning message when no data was returned. --- OpenSim/Region/CoreModules/Scripting/LoadImageURL/LoadImageURLModule.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'OpenSim/Region/CoreModules/Scripting/LoadImageURL') diff --git a/OpenSim/Region/CoreModules/Scripting/LoadImageURL/LoadImageURLModule.cs b/OpenSim/Region/CoreModules/Scripting/LoadImageURL/LoadImageURLModule.cs index 4abc55d..864d6ac 100644 --- a/OpenSim/Region/CoreModules/Scripting/LoadImageURL/LoadImageURLModule.cs +++ b/OpenSim/Region/CoreModules/Scripting/LoadImageURL/LoadImageURLModule.cs @@ -211,6 +211,7 @@ namespace OpenSim.Region.CoreModules.Scripting.LoadImageURL } m_textureManager.ReturnData(state.RequestID, imageJ2000); + return; } } catch (WebException) -- cgit v1.1