aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Framework
diff options
context:
space:
mode:
authorMelanie2011-10-30 10:16:25 +0000
committerMelanie2011-10-30 10:16:25 +0000
commit083b28de8c45589a43ce6ceed4dbfb70c698f2d0 (patch)
treefc494b5d401bf2190e8c2d9ee027021f330d6285 /OpenSim/Region/CoreModules/Framework
parentFix the offline message module to revert core changes and restore avn (diff)
parentAdd missing max_listens_per_region to [LL_Functions] config section in OpenSi... (diff)
downloadopensim-SC_OLD-083b28de8c45589a43ce6ceed4dbfb70c698f2d0.zip
opensim-SC_OLD-083b28de8c45589a43ce6ceed4dbfb70c698f2d0.tar.gz
opensim-SC_OLD-083b28de8c45589a43ce6ceed4dbfb70c698f2d0.tar.bz2
opensim-SC_OLD-083b28de8c45589a43ce6ceed4dbfb70c698f2d0.tar.xz
Merge branch 'master' into bigmerge
Conflicts: OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework')
-rw-r--r--OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
index 7263b51..26151bf 100644
--- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
@@ -1712,7 +1712,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
1712 1712
1713 // Offset the positions for the new region across the border 1713 // Offset the positions for the new region across the border
1714 Vector3 oldGroupPosition = grp.RootPart.GroupPosition; 1714 Vector3 oldGroupPosition = grp.RootPart.GroupPosition;
1715 grp.OffsetForNewRegion(pos); 1715 grp.RootPart.GroupPosition = pos;
1716 1716
1717 // If we fail to cross the border, then reset the position of the scene object on that border. 1717 // If we fail to cross the border, then reset the position of the scene object on that border.
1718 uint x = 0, y = 0; 1718 uint x = 0, y = 0;
@@ -1720,7 +1720,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
1720 GridRegion destination = scene.GridService.GetRegionByPosition(scene.RegionInfo.ScopeID, (int)x, (int)y); 1720 GridRegion destination = scene.GridService.GetRegionByPosition(scene.RegionInfo.ScopeID, (int)x, (int)y);
1721 if (destination != null && !CrossPrimGroupIntoNewRegion(destination, grp, silent)) 1721 if (destination != null && !CrossPrimGroupIntoNewRegion(destination, grp, silent))
1722 { 1722 {
1723 grp.OffsetForNewRegion(oldGroupPosition); 1723 grp.RootPart.GroupPosition = oldGroupPosition;
1724 grp.ScheduleGroupForFullUpdate(); 1724 grp.ScheduleGroupForFullUpdate();
1725 } 1725 }
1726 } 1726 }