aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Capabilities/Handlers/GetTexture/GetTextureRobustHandler.cs
diff options
context:
space:
mode:
authorUbitUmarov2016-12-28 12:20:02 +0000
committerUbitUmarov2016-12-28 12:20:02 +0000
commit88c96d3973d362edabfdaedf8eeeebbf60e7dced (patch)
treed24fbae046a3c677677512b03360231e5e2ae40c /OpenSim/Capabilities/Handlers/GetTexture/GetTextureRobustHandler.cs
parentsome cleanup (diff)
parentadjust camera collision detection checks for new FS (diff)
downloadopensim-SC-88c96d3973d362edabfdaedf8eeeebbf60e7dced.zip
opensim-SC-88c96d3973d362edabfdaedf8eeeebbf60e7dced.tar.gz
opensim-SC-88c96d3973d362edabfdaedf8eeeebbf60e7dced.tar.bz2
opensim-SC-88c96d3973d362edabfdaedf8eeeebbf60e7dced.tar.xz
Merge branch 'master' into httptests
Diffstat (limited to 'OpenSim/Capabilities/Handlers/GetTexture/GetTextureRobustHandler.cs')
-rw-r--r--OpenSim/Capabilities/Handlers/GetTexture/GetTextureRobustHandler.cs2
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 {