diff --git a/.nant/local.include b/.nant/local.include
index 1e1c030f57..510bdc66dc 100644
--- a/.nant/local.include
+++ b/.nant/local.include
@@ -1,6 +1,7 @@
-
+
+
@@ -29,24 +30,56 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -156,53 +189,68 @@
+
+
+
+
+
+
+
+
+
+
-
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index f4a0d2ee67..7527d8c8c2 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -337,22 +337,22 @@ namespace OpenSim.Region.Framework.Scenes
BordersLocked = true;
Border northBorder = new Border();
- northBorder.BorderLine = new Vector3(float.MinValue, float.MaxValue, (int)Constants.RegionSize); //<---
+ northBorder.BorderLine = new Vector3(float.MinValue, float.MaxValue, (int)Constants.RegionSize + 1); //<---
northBorder.CrossDirection = Cardinals.N;
NorthBorders.Add(northBorder);
Border southBorder = new Border();
- southBorder.BorderLine = new Vector3(float.MinValue, float.MaxValue, 0); //--->
+ southBorder.BorderLine = new Vector3(float.MinValue, float.MaxValue, -2); //--->
southBorder.CrossDirection = Cardinals.S;
SouthBorders.Add(southBorder);
Border eastBorder = new Border();
- eastBorder.BorderLine = new Vector3(float.MinValue, float.MaxValue, (int)Constants.RegionSize); //<---
+ eastBorder.BorderLine = new Vector3(float.MinValue, float.MaxValue, (int)Constants.RegionSize + 1); //<---
eastBorder.CrossDirection = Cardinals.E;
EastBorders.Add(eastBorder);
Border westBorder = new Border();
- westBorder.BorderLine = new Vector3(float.MinValue, float.MaxValue, 0); //--->
+ westBorder.BorderLine = new Vector3(float.MinValue, float.MaxValue, -2); //--->
westBorder.CrossDirection = Cardinals.W;
WestBorders.Add(westBorder);
@@ -489,22 +489,22 @@ namespace OpenSim.Region.Framework.Scenes
{
BordersLocked = true;
Border northBorder = new Border();
- northBorder.BorderLine = new Vector3(float.MinValue, float.MaxValue, (int)Constants.RegionSize); //<---
+ northBorder.BorderLine = new Vector3(float.MinValue, float.MaxValue, (int)Constants.RegionSize + 1); //<---
northBorder.CrossDirection = Cardinals.N;
NorthBorders.Add(northBorder);
Border southBorder = new Border();
- southBorder.BorderLine = new Vector3(float.MinValue, float.MaxValue, 0); //--->
+ southBorder.BorderLine = new Vector3(float.MinValue, float.MaxValue, -2); //--->
southBorder.CrossDirection = Cardinals.S;
SouthBorders.Add(southBorder);
Border eastBorder = new Border();
- eastBorder.BorderLine = new Vector3(float.MinValue, float.MaxValue, (int)Constants.RegionSize); //<---
+ eastBorder.BorderLine = new Vector3(float.MinValue, float.MaxValue, (int)Constants.RegionSize + 1); //<---
eastBorder.CrossDirection = Cardinals.E;
EastBorders.Add(eastBorder);
Border westBorder = new Border();
- westBorder.BorderLine = new Vector3(float.MinValue, float.MaxValue, 0); //--->
+ westBorder.BorderLine = new Vector3(float.MinValue, float.MaxValue, -2); //--->
westBorder.CrossDirection = Cardinals.W;
WestBorders.Add(westBorder);
BordersLocked = false;