diff options
author | UbitUmarov | 2016-12-28 12:19:05 +0000 |
---|---|---|
committer | UbitUmarov | 2016-12-28 12:19:05 +0000 |
commit | 73b2c82427cf25b568705da0920e68effaaf0755 (patch) | |
tree | 0eebd280a43ea49459da71ad943bf6d9bcfca6e8 /OpenSim/Region/Framework | |
parent | robust textures add missing returns or redir case (diff) | |
download | opensim-SC-73b2c82427cf25b568705da0920e68effaaf0755.zip opensim-SC-73b2c82427cf25b568705da0920e68effaaf0755.tar.gz opensim-SC-73b2c82427cf25b568705da0920e68effaaf0755.tar.bz2 opensim-SC-73b2c82427cf25b568705da0920e68effaaf0755.tar.xz |
adjust camera collision detection checks for new FS
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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; |