aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Framework/EntityTransfer
diff options
context:
space:
mode:
authorMelanie2010-12-31 15:53:31 +0100
committerMelanie2011-01-03 19:41:02 +0000
commitc48ddbfef162c758bd4759d4100f8d3e081b37a7 (patch)
treec02e10bc206d669fb15ad8ac30e2f3289c55fc07 /OpenSim/Region/CoreModules/Framework/EntityTransfer
parentImplement Scope ID lookup on GetLandData. Stacked regions were not handled (diff)
downloadopensim-SC-c48ddbfef162c758bd4759d4100f8d3e081b37a7.zip
opensim-SC-c48ddbfef162c758bd4759d4100f8d3e081b37a7.tar.gz
opensim-SC-c48ddbfef162c758bd4759d4100f8d3e081b37a7.tar.bz2
opensim-SC-c48ddbfef162c758bd4759d4100f8d3e081b37a7.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 a3251aa..e5cefe4 100644
--- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
@@ -1515,7 +1515,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
1515 // If we fail to cross the border, then reset the position of the scene object on that border. 1515 // If we fail to cross the border, then reset the position of the scene object on that border.
1516 uint x = 0, y = 0; 1516 uint x = 0, y = 0;
1517 Utils.LongToUInts(newRegionHandle, out x, out y); 1517 Utils.LongToUInts(newRegionHandle, out x, out y);
1518 GridRegion destination = scene.GridService.GetRegionByPosition(UUID.Zero, (int)x, (int)y); 1518 GridRegion destination = scene.GridService.GetRegionByPosition(scene.RegionInfo.ScopeID, (int)x, (int)y);
1519 if (destination != null && !CrossPrimGroupIntoNewRegion(destination, grp, silent)) 1519 if (destination != null && !CrossPrimGroupIntoNewRegion(destination, grp, silent))
1520 { 1520 {
1521 grp.OffsetForNewRegion(oldGroupPosition); 1521 grp.OffsetForNewRegion(oldGroupPosition);