aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Framework/EntityTransfer
diff options
context:
space:
mode:
authorMelanie2010-12-31 15:53:31 +0100
committerMelanie2010-12-31 15:53:31 +0100
commit5545b03168fd2444d15e930890761713b4462d0a (patch)
tree5d79c93657d1705143e68fba80a1caebc3951127 /OpenSim/Region/CoreModules/Framework/EntityTransfer
parentImplement Scope ID lookup on GetLandData. Stacked regions were not handled (diff)
downloadopensim-SC-5545b03168fd2444d15e930890761713b4462d0a.zip
opensim-SC-5545b03168fd2444d15e930890761713b4462d0a.tar.gz
opensim-SC-5545b03168fd2444d15e930890761713b4462d0a.tar.bz2
opensim-SC-5545b03168fd2444d15e930890761713b4462d0a.tar.xz
Fix scoping for prim region crossings
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework/EntityTransfer')
-rw-r--r--OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
index 0c59ba1..eb150d9 100644
--- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
@@ -1542,7 +1542,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
1542 // If we fail to cross the border, then reset the position of the scene object on that border. 1542 // If we fail to cross the border, then reset the position of the scene object on that border.
1543 uint x = 0, y = 0; 1543 uint x = 0, y = 0;
1544 Utils.LongToUInts(newRegionHandle, out x, out y); 1544 Utils.LongToUInts(newRegionHandle, out x, out y);
1545 GridRegion destination = scene.GridService.GetRegionByPosition(UUID.Zero, (int)x, (int)y); 1545 GridRegion destination = scene.GridService.GetRegionByPosition(scene.RegionInfo.ScopeID, (int)x, (int)y);
1546 if (destination != null && !CrossPrimGroupIntoNewRegion(destination, grp, silent)) 1546 if (destination != null && !CrossPrimGroupIntoNewRegion(destination, grp, silent))
1547 { 1547 {
1548 grp.OffsetForNewRegion(oldGroupPosition); 1548 grp.OffsetForNewRegion(oldGroupPosition);