aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2016-12-28 12:20:02 +0000
committerUbitUmarov2016-12-28 12:20:02 +0000
commit88c96d3973d362edabfdaedf8eeeebbf60e7dced (patch)
treed24fbae046a3c677677512b03360231e5e2ae40c
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 '')
-rw-r--r--OpenSim/Capabilities/Handlers/GetTexture/GetTextureRobustHandler.cs2
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs2
2 files changed, 3 insertions, 1 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 {
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 463f6c8..5082b9d 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -2821,7 +2821,7 @@ namespace OpenSim.Region.Framework.Scenes
2821 m_followCamAuto = false; 2821 m_followCamAuto = false;
2822 if(!m_mouseLook) 2822 if(!m_mouseLook)
2823 { 2823 {
2824 if((CameraUpAxis.Z > 0.959f && CameraUpAxis.Z < 0.98f)) 2824 if((CameraUpAxis.Z > 0.959f && CameraUpAxis.Z < 0.99f))
2825 { 2825 {
2826 Vector3 camdif = new Vector3(1f, 0f, 0f) * Rotation; 2826 Vector3 camdif = new Vector3(1f, 0f, 0f) * Rotation;
2827 float ftmp = camdif.X - CameraAtAxis.X; 2827 float ftmp = camdif.X - CameraAtAxis.X;