aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
authorUbitUmarov2015-09-25 18:38:52 +0100
committerUbitUmarov2015-09-25 18:38:52 +0100
commit40ae9ec554c7b8e4c27028f63f4f96bdda229cfc (patch)
tree0d0625b78b282a3058c9ede788d8198cdf94c748 /OpenSim/Region/CoreModules
parent rearrange source code (diff)
downloadopensim-SC_OLD-40ae9ec554c7b8e4c27028f63f4f96bdda229cfc.zip
opensim-SC_OLD-40ae9ec554c7b8e4c27028f63f4f96bdda229cfc.tar.gz
opensim-SC_OLD-40ae9ec554c7b8e4c27028f63f4f96bdda229cfc.tar.bz2
opensim-SC_OLD-40ae9ec554c7b8e4c27028f63f4f96bdda229cfc.tar.xz
patch objects crossings for var regions, until region location is fully fixed
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
index 2532b7e..4c241db 100644
--- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
@@ -2547,8 +2547,14 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
2547 else 2547 else
2548 y--; 2548 y--;
2549 2549
2550 // ugly
2551 // Call the grid service to lookup the region containing the new position.
2552 GridRegion neighbourRegion = GetRegionContainingWorldLocation(
2553 scene.GridService, scene.RegionInfo.ScopeID,
2554 targetPosition.X, targetPosition.Y,
2555 Math.Max(scene.RegionInfo.RegionSizeX, scene.RegionInfo.RegionSizeY));
2550 2556
2551 GridRegion neighbourRegion = scene.GridService.GetRegionByPosition(scene.RegionInfo.ScopeID,x,y); 2557// GridRegion neighbourRegion = scene.GridService.GetRegionByPosition(scene.RegionInfo.ScopeID,x,y);
2552 if (neighbourRegion == null) 2558 if (neighbourRegion == null)
2553 { 2559 {
2554 return null; 2560 return null;