aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/LandManagement
diff options
context:
space:
mode:
authorMW2007-08-24 12:34:00 +0000
committerMW2007-08-24 12:34:00 +0000
commitd79b0ba269bfb98de6296b7c0219f6eb2e575710 (patch)
tree3d49466b495037fcc461ac863719db22986231da /OpenSim/Region/Environment/LandManagement
parentattempted fix for .NET issue with the database (diff)
downloadopensim-SC_OLD-d79b0ba269bfb98de6296b7c0219f6eb2e575710.zip
opensim-SC_OLD-d79b0ba269bfb98de6296b7c0219f6eb2e575710.tar.gz
opensim-SC_OLD-d79b0ba269bfb98de6296b7c0219f6eb2e575710.tar.bz2
opensim-SC_OLD-d79b0ba269bfb98de6296b7c0219f6eb2e575710.tar.xz
Hopefully fixed mantis bug #318 (exception when a prim moves across a border, for now have stopped prims moving beyond a regions area, will add sending prims from one region to another soon).
Diffstat (limited to 'OpenSim/Region/Environment/LandManagement')
-rw-r--r--OpenSim/Region/Environment/LandManagement/LandManager.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/LandManagement/LandManager.cs b/OpenSim/Region/Environment/LandManagement/LandManager.cs
index 1ed0642..2f345f4 100644
--- a/OpenSim/Region/Environment/LandManagement/LandManager.cs
+++ b/OpenSim/Region/Environment/LandManagement/LandManager.cs
@@ -207,7 +207,8 @@ namespace OpenSim.Region.Environment.LandManagement
207 207
208 if (x > 63 || y > 63 || x < 0 || y < 0) 208 if (x > 63 || y > 63 || x < 0 || y < 0)
209 { 209 {
210 throw new Exception("Error: Parcel not found at point " + x + ", " + y); 210 return null;
211 //throw new Exception("Error: Parcel not found at point " + x + ", " + y);
211 } 212 }
212 else 213 else
213 { 214 {
@@ -220,7 +221,8 @@ namespace OpenSim.Region.Environment.LandManagement
220 { 221 {
221 if (x > 256 || y > 256 || x < 0 || y < 0) 222 if (x > 256 || y > 256 || x < 0 || y < 0)
222 { 223 {
223 throw new Exception("Error: Parcel not found at point " + x + ", " + y); 224 return null;
225 //throw new Exception("Error: Parcel not found at point " + x + ", " + y);
224 } 226 }
225 else 227 else
226 { 228 {