adjust camera collision detection checks for new FS

melanie
UbitUmarov 2016-12-28 12:19:05 +00:00
parent 65b4e17a80
commit 73b2c82427
1 changed files with 1 additions and 1 deletions

View File

@ -2821,7 +2821,7 @@ namespace OpenSim.Region.Framework.Scenes
m_followCamAuto = false; m_followCamAuto = false;
if(!m_mouseLook) if(!m_mouseLook)
{ {
if((CameraUpAxis.Z > 0.959f && CameraUpAxis.Z < 0.98f)) if((CameraUpAxis.Z > 0.959f && CameraUpAxis.Z < 0.99f))
{ {
Vector3 camdif = new Vector3(1f, 0f, 0f) * Rotation; Vector3 camdif = new Vector3(1f, 0f, 0f) * Rotation;
float ftmp = camdif.X - CameraAtAxis.X; float ftmp = camdif.X - CameraAtAxis.X;