diff options
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | 18 |
1 files changed, 1 insertions, 17 deletions
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 | |||
2191 | #endregion // NotFoundLocationCache class | 2191 | #endregion // NotFoundLocationCache class |
2192 | private NotFoundLocationCache m_notFoundLocationCache = new NotFoundLocationCache(); | 2192 | private NotFoundLocationCache m_notFoundLocationCache = new NotFoundLocationCache(); |
2193 | 2193 | ||
2194 | // needed for current OSG or old grid code | 2194 | // needed for old grid code |
2195 | 2195 | ||
2196 | protected GridRegion GetRegionContainingWorldLocation(IGridService pGridService, UUID pScopeID, double px, double py) | 2196 | protected GridRegion GetRegionContainingWorldLocation(IGridService pGridService, UUID pScopeID, double px, double py) |
2197 | { | 2197 | { |
@@ -2362,22 +2362,6 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
2362 | } | 2362 | } |
2363 | 2363 | ||
2364 | /// <summary> | 2364 | /// <summary> |
2365 | /// Gets the range considered in view of this megaregion (assuming this is a megaregion). | ||
2366 | /// </summary> | ||
2367 | /// <remarks>Expressed in 256m units</remarks> | ||
2368 | /// <param name='swCorner'></param> | ||
2369 | /// <param name='neCorner'></param> | ||
2370 | private void GetMegaregionViewRange(out Vector2 swCorner, out Vector2 neCorner) | ||
2371 | { | ||
2372 | Vector2 extent = Vector2.Zero; | ||
2373 | |||
2374 | swCorner.X = Scene.RegionInfo.RegionLocX - 1; | ||
2375 | swCorner.Y = Scene.RegionInfo.RegionLocY - 1; | ||
2376 | neCorner.X = Scene.RegionInfo.RegionLocX + extent.X; | ||
2377 | neCorner.Y = Scene.RegionInfo.RegionLocY + extent.Y; | ||
2378 | } | ||
2379 | |||
2380 | /// <summary> | ||
2381 | /// Return the list of online regions that are considered to be neighbours to the given scene. | 2365 | /// Return the list of online regions that are considered to be neighbours to the given scene. |
2382 | /// </summary> | 2366 | /// </summary> |
2383 | /// <param name="avatar"></param> | 2367 | /// <param name="avatar"></param> |