aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Permissions
diff options
context:
space:
mode:
authorUbitUmarov2016-07-03 19:39:13 +0100
committerUbitUmarov2016-07-03 19:39:13 +0100
commit58135ef52c4b03041405bf94cb4b563e7baaea5c (patch)
tree34444e7a551e10005b830bbf1d8b2ad437d5a488 /OpenSim/Region/CoreModules/World/Permissions
parentscale down position X and Y acording to region size on sending coarse Updates... (diff)
downloadopensim-SC-58135ef52c4b03041405bf94cb4b563e7baaea5c.zip
opensim-SC-58135ef52c4b03041405bf94cb4b563e7baaea5c.tar.gz
opensim-SC-58135ef52c4b03041405bf94cb4b563e7baaea5c.tar.bz2
opensim-SC-58135ef52c4b03041405bf94cb4b563e7baaea5c.tar.xz
fix a lost region size of 256m
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Permissions')
-rw-r--r--OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs
index c83454e..303f8a8 100644
--- a/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs
+++ b/OpenSim/Region/CoreModules/World/Permissions/PermissionsModule.cs
@@ -1303,7 +1303,11 @@ namespace OpenSim.Region.CoreModules.World.Permissions
1303 DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name); 1303 DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name);
1304 if (m_bypassPermissions) return m_bypassPermissionsValue; 1304 if (m_bypassPermissions) return m_bypassPermissionsValue;
1305 1305
1306 if ((newPoint.X > 257f || newPoint.X < -1f || newPoint.Y > 257f || newPoint.Y < -1f)) 1306
1307 // allow outide region??
1308 if (newPoint.X < -1f || newPoint.Y < -1f)
1309 return true;
1310 if (newPoint.X > scene.RegionInfo.RegionSizeX + 1.0f || newPoint.Y > scene.RegionInfo.RegionSizeY + 1.0f)
1307 { 1311 {
1308 return true; 1312 return true;
1309 } 1313 }