aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Framework/EntityTransfer
diff options
context:
space:
mode:
authorUbitUmarov2016-07-28 01:00:56 +0100
committerUbitUmarov2016-07-28 01:00:56 +0100
commit19df2a29166741d69be41a2abd3abfe6b0110b0f (patch)
tree3647b00631bd95c0d7e8b5b1d4c89ed06b4d5d8f /OpenSim/Region/CoreModules/Framework/EntityTransfer
parentremove more code related to Mega regions (diff)
downloadopensim-SC_OLD-19df2a29166741d69be41a2abd3abfe6b0110b0f.zip
opensim-SC_OLD-19df2a29166741d69be41a2abd3abfe6b0110b0f.tar.gz
opensim-SC_OLD-19df2a29166741d69be41a2abd3abfe6b0110b0f.tar.bz2
opensim-SC_OLD-19df2a29166741d69be41a2abd3abfe6b0110b0f.tar.xz
remove more code related to Mega regions
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework/EntityTransfer')
-rw-r--r--OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs18
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>