* One last attempt to get the bordercrossing/primcrossing/attachmentcrossing right in the new border framework.

* This also contains some inactive preliminary code for disconnecting combined regions that will be used to make one root region a virtual region of a new root region.
This commit is contained in:
Teravus Ovares (Dan Olivares)
2009-09-02 04:39:00 -04:00
parent 994c5e2094
commit 9505297fb1
7 changed files with 126 additions and 23 deletions

View File

@@ -495,6 +495,29 @@ namespace OpenSim.Region.CoreModules.World.Land
}
public void UnCombineRegion(RegionData rdata)
{
lock (m_regions)
{
if (m_regions.ContainsKey(rdata.RegionId))
{
// uncombine root region and virtual regions
}
else
{
foreach (RegionConnections r in m_regions.Values)
{
foreach (RegionData rd in r.ConnectedRegions)
{
if (rd.RegionId == rdata.RegionId)
{
// uncombine virtual region
}
}
}
}
}
}
// Create a set of infinite borders around the whole aabb of the combined island.
private void AdjustLargeRegionBounds()
{