mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 08:06:27 +08:00
remove more code related to Mega regions
This commit is contained in:
@@ -2191,7 +2191,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
|
||||
#endregion // NotFoundLocationCache class
|
||||
private NotFoundLocationCache m_notFoundLocationCache = new NotFoundLocationCache();
|
||||
|
||||
// needed for current OSG or old grid code
|
||||
// needed for old grid code
|
||||
|
||||
protected GridRegion GetRegionContainingWorldLocation(IGridService pGridService, UUID pScopeID, double px, double py)
|
||||
{
|
||||
@@ -2361,22 +2361,6 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the range considered in view of this megaregion (assuming this is a megaregion).
|
||||
/// </summary>
|
||||
/// <remarks>Expressed in 256m units</remarks>
|
||||
/// <param name='swCorner'></param>
|
||||
/// <param name='neCorner'></param>
|
||||
private void GetMegaregionViewRange(out Vector2 swCorner, out Vector2 neCorner)
|
||||
{
|
||||
Vector2 extent = Vector2.Zero;
|
||||
|
||||
swCorner.X = Scene.RegionInfo.RegionLocX - 1;
|
||||
swCorner.Y = Scene.RegionInfo.RegionLocY - 1;
|
||||
neCorner.X = Scene.RegionInfo.RegionLocX + extent.X;
|
||||
neCorner.Y = Scene.RegionInfo.RegionLocY + extent.Y;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Return the list of online regions that are considered to be neighbours to the given scene.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user