From 80fe0c640b9ba1b5c957804133fdfb3fe602c69c Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Mon, 20 Jan 2020 16:09:45 +0000 Subject: [PATCH] do not use viewer autopilot on physics sits also. Viewer side autopilot needs more work to avoid desyncs, that we never had --- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index c80fba2870..197316d32f 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -195,8 +195,8 @@ namespace OpenSim.Region.Framework.Scenes m_currentParcelHide = false; ILandObject land = m_scene.LandChannel.GetLandObject(AbsolutePosition.X, AbsolutePosition.Y); - if (land != null && !land.LandData.SeeAVs) - m_currentParcelHide = true; + if (land != null) + m_currentParcelHide = !land.LandData.SeeAVs; if (m_previusParcelUUID != UUID.Zero || checksame) ParcelCrossCheck(m_currentParcelUUID, m_previusParcelUUID, m_currentParcelHide, m_previusParcelHide, oldhide,checksame); @@ -3572,7 +3572,7 @@ namespace OpenSim.Region.Framework.Scenes m_pos = offset; ControllingClient.SendSitResponse( - part.ParentGroup.UUID, offset, Orientation, true, cameraAtOffset, cameraEyeOffset, forceMouselook); + part.ParentGroup.UUID, offset, Orientation, false, cameraAtOffset, cameraEyeOffset, forceMouselook); SendAvatarDataToAllAgents();