Remove recent IRegionCombinerModule.IsMegaregion(). In theory, there can be more than one megaregion in a simulator, separated by water.

Rename IsRootRegion() to IsRootForMegaregion()
This commit is contained in:
Justin Clark-Casey (justincc)
2012-05-19 03:17:21 +01:00
parent 26dfcf5395
commit 3f2a727b6d
3 changed files with 5 additions and 20 deletions

View File

@@ -401,7 +401,7 @@ namespace OpenSim.Region.CoreModules.World.Archiver
if (m_module != null && m_module.RegionCombinerModule != null)
{
IRegionCombinerModule mod = m_module.RegionCombinerModule;
isMegaregion = mod.IsMegaregion && mod.IsRootRegion(m_scene.RegionInfo.RegionID);
isMegaregion = mod.IsRootForMegaregion(m_scene.RegionInfo.RegionID);
}
else
{