diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index ebde92e200..67a33ae240 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -1650,6 +1650,14 @@ namespace OpenSim.Region.Framework.Scenes } } + public void DropThisRootRegionFromNeighbours() + { + ulong handle = m_scene.RegionInfo.RegionHandle; + RemoveNeighbourRegion(handle); + Scene.CapsModule.DropChildSeed(UUID, handle); + } + + public Dictionary KnownRegions { get @@ -1851,6 +1859,10 @@ namespace OpenSim.Region.Framework.Scenes newhide = m_currentParcelHide; m_currentParcelHide = false; + // take this region out of children Neighbours list + // possible should be done elsewhere + DropThisRootRegionFromNeighbours(); + ValidateAndSendAppearanceAndAgentData(); // attachments