aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index ebde92e..67a33ae 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -1650,6 +1650,14 @@ namespace OpenSim.Region.Framework.Scenes
1650 } 1650 }
1651 } 1651 }
1652 1652
1653 public void DropThisRootRegionFromNeighbours()
1654 {
1655 ulong handle = m_scene.RegionInfo.RegionHandle;
1656 RemoveNeighbourRegion(handle);
1657 Scene.CapsModule.DropChildSeed(UUID, handle);
1658 }
1659
1660
1653 public Dictionary<ulong, string> KnownRegions 1661 public Dictionary<ulong, string> KnownRegions
1654 { 1662 {
1655 get 1663 get
@@ -1851,6 +1859,10 @@ namespace OpenSim.Region.Framework.Scenes
1851 newhide = m_currentParcelHide; 1859 newhide = m_currentParcelHide;
1852 m_currentParcelHide = false; 1860 m_currentParcelHide = false;
1853 1861
1862 // take this region out of children Neighbours list
1863 // possible should be done elsewhere
1864 DropThisRootRegionFromNeighbours();
1865
1854 ValidateAndSendAppearanceAndAgentData(); 1866 ValidateAndSendAppearanceAndAgentData();
1855 1867
1856 // attachments 1868 // attachments