diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Capabilities/Handlers/GetTexture/GetTextureRobustHandler.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureRobustHandler.cs b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureRobustHandler.cs index 518f74e..5f86ed4 100644 --- a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureRobustHandler.cs +++ b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureRobustHandler.cs | |||
@@ -80,6 +80,7 @@ namespace OpenSim.Capabilities.Handlers | |||
80 | { | 80 | { |
81 | m_log.Error("[GETTEXTURE]: Cannot fetch texture " + textureStr + " without an asset service"); | 81 | m_log.Error("[GETTEXTURE]: Cannot fetch texture " + textureStr + " without an asset service"); |
82 | httpResponse.StatusCode = (int)System.Net.HttpStatusCode.NotFound; | 82 | httpResponse.StatusCode = (int)System.Net.HttpStatusCode.NotFound; |
83 | return null; | ||
83 | } | 84 | } |
84 | 85 | ||
85 | UUID textureID; | 86 | UUID textureID; |
@@ -150,6 +151,7 @@ namespace OpenSim.Capabilities.Handlers | |||
150 | return true; | 151 | return true; |
151 | } | 152 | } |
152 | WriteTextureData(httpRequest, httpResponse, texture, format); | 153 | WriteTextureData(httpRequest, httpResponse, texture, format); |
154 | return true; | ||
153 | } | 155 | } |
154 | else | 156 | else |
155 | { | 157 | { |