robust textures add missing returns or redir case

melanie
UbitUmarov 2016-12-26 19:38:13 +00:00
parent bf1f4d1384
commit 65b4e17a80
1 changed files with 2 additions and 0 deletions

View File

@ -80,6 +80,7 @@ namespace OpenSim.Capabilities.Handlers
{
m_log.Error("[GETTEXTURE]: Cannot fetch texture " + textureStr + " without an asset service");
httpResponse.StatusCode = (int)System.Net.HttpStatusCode.NotFound;
return null;
}
UUID textureID;
@ -150,6 +151,7 @@ namespace OpenSim.Capabilities.Handlers
return true;
}
WriteTextureData(httpRequest, httpResponse, texture, format);
return true;
}
else
{