remove the region where we are root from the list of Neighbours and

childSeeds
avinationmerge
UbitUmarov 2014-08-13 03:54:13 +01:00
parent 444b41b22a
commit 92117d48af
1 changed files with 12 additions and 0 deletions

View File

@ -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<ulong, string> 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