aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorTeravus Ovares (Dan Olivares)2009-08-31 20:07:33 -0400
committerTeravus Ovares (Dan Olivares)2009-08-31 20:07:33 -0400
commitb997174d08919fc69f29109b28e054d995672d0e (patch)
treeae6db3ea8cc2f62608cae20ab7e0147f866a9652 /OpenSim/Region/Framework/Scenes/Scene.cs
parent* When the RegionCombinerModule is active add an extra set of borders with In... (diff)
downloadopensim-SC_OLD-b997174d08919fc69f29109b28e054d995672d0e.zip
opensim-SC_OLD-b997174d08919fc69f29109b28e054d995672d0e.tar.gz
opensim-SC_OLD-b997174d08919fc69f29109b28e054d995672d0e.tar.bz2
opensim-SC_OLD-b997174d08919fc69f29109b28e054d995672d0e.tar.xz
* Fix attachment cross issues with new borders.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index b8c8f32..f4a0d2e 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -1710,7 +1710,12 @@ namespace OpenSim.Region.Framework.Scenes
1710 int thisx = (int)RegionInfo.RegionLocX; 1710 int thisx = (int)RegionInfo.RegionLocX;
1711 int thisy = (int)RegionInfo.RegionLocY; 1711 int thisy = (int)RegionInfo.RegionLocY;
1712 1712
1713 ulong newRegionHandle = 0; 1713
1714 // use this if no borders were crossed!
1715 ulong newRegionHandle
1716 = Util.UIntsToLong((uint)((thisx) * Constants.RegionSize),
1717 (uint)((thisy) * Constants.RegionSize));
1718
1714 Vector3 pos = attemptedPosition; 1719 Vector3 pos = attemptedPosition;
1715 1720
1716 if (TestBorderCross(attemptedPosition, Cardinals.W)) 1721 if (TestBorderCross(attemptedPosition, Cardinals.W))