From b0864a2f0f46db1656951633b6a9da363bf62c6c Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 2 Aug 2014 14:17:00 +0100 Subject: [PATCH] crossing into a hide parcel may work now. Not nice fix.. need get back to this later --- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 62cc28ee57..415dbcd4f5 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -1737,6 +1737,7 @@ namespace OpenSim.Region.Framework.Scenes client.Name, Scene.Name, AbsolutePosition); m_inTransit = true; + bool newhide = false; try { // Make sure it's not a login agent. We don't want to wait for updates during login @@ -1819,6 +1820,7 @@ namespace OpenSim.Region.Framework.Scenes m_previusParcelUUID = UUID.Zero; m_currentParcelHide = false; m_currentParcelUUID = UUID.Zero; + // send initial land overlay and parcel if (!IsChildAgent) @@ -1827,6 +1829,8 @@ namespace OpenSim.Region.Framework.Scenes if (landch != null) { landch.sendClientInitialLandInfo(client); + newhide = m_currentParcelHide; + m_currentParcelHide = false; } } @@ -1886,7 +1890,7 @@ namespace OpenSim.Region.Framework.Scenes m_inTransit = false; } // if hide force a check - if (!IsChildAgent && m_currentParcelHide) + if (!IsChildAgent && newhide) ParcelCrossCheck(m_currentParcelUUID, m_previusParcelUUID, true, m_previusParcelHide, false, true); }