do not use viewer autopilot on physics sits also. Viewer side autopilot needs more work to avoid desyncs, that we never had

master
UbitUmarov 2020-01-20 16:09:45 +00:00
parent 54370169bc
commit 80fe0c640b
1 changed files with 3 additions and 3 deletions

View File

@ -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();