From 19df2a29166741d69be41a2abd3abfe6b0110b0f Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Thu, 28 Jul 2016 01:00:56 +0100 Subject: remove more code related to Mega regions --- .../Framework/EntityTransfer/EntityTransferModule.cs | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index 6ad949c..efc714f 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs @@ -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) { @@ -2362,22 +2362,6 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer } /// - /// Gets the range considered in view of this megaregion (assuming this is a megaregion). - /// - /// Expressed in 256m units - /// - /// - 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; - } - - /// /// Return the list of online regions that are considered to be neighbours to the given scene. /// /// -- cgit v1.1