remove more code related to Mega regions
parent
7a69b7d20d
commit
19df2a2916
|
@ -2191,7 +2191,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
|
||||||
#endregion // NotFoundLocationCache class
|
#endregion // NotFoundLocationCache class
|
||||||
private NotFoundLocationCache m_notFoundLocationCache = new NotFoundLocationCache();
|
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)
|
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>
|
/// <summary>
|
||||||
/// Return the list of online regions that are considered to be neighbours to the given scene.
|
/// Return the list of online regions that are considered to be neighbours to the given scene.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
Loading…
Reference in New Issue