add a hide check at end of region arrival

avinationmerge
UbitUmarov 2014-08-02 02:26:54 +01:00
parent 46add98071
commit c11c4c0daa
1 changed files with 7 additions and 0 deletions

View File

@ -1885,6 +1885,10 @@ namespace OpenSim.Region.Framework.Scenes
{ {
m_inTransit = false; m_inTransit = false;
} }
// if hide force a check
if (!IsChildAgent && m_currentParcelHide)
ParcelCrossCheck(m_currentParcelUUID, m_previusParcelUUID,
true, m_previusParcelHide, false, true);
} }
/// <summary> /// <summary>
@ -5346,6 +5350,9 @@ namespace OpenSim.Region.Framework.Scenes
List<ScenePresence> viewsToSendme = new List<ScenePresence>(); List<ScenePresence> viewsToSendme = new List<ScenePresence>();
List<ScenePresence> allpresences = null; List<ScenePresence> allpresences = null;
if (IsInTransit)
return;
if (check) if (check)
{ {
if (currentParcelUUID == null || oldhide == currentParcelHide) if (currentParcelUUID == null || oldhide == currentParcelHide)