crossing into a hide parcel may work now. Not nice fix.. need get back to

this later
avinationmerge
UbitUmarov 2014-08-02 14:17:00 +01:00
parent 20eeeba0d2
commit b0864a2f0f
1 changed files with 5 additions and 1 deletions

View File

@ -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
@ -1820,6 +1821,7 @@ namespace OpenSim.Region.Framework.Scenes
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);
}