mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
remove the region where we are root from the list of Neighbours and
childSeeds
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user