test jenkins

httptests
UbitUmarov 2017-01-20 22:50:50 +00:00
parent dac32c4e5a
commit 05196ebe27
1 changed files with 4 additions and 4 deletions

View File

@ -1441,17 +1441,17 @@ namespace OpenSim.Region.CoreModules.World.Permissions
{ {
DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name); DebugPermissionInformation(MethodInfo.GetCurrentMethod().Name);
if(sog == null || sog.IsDeleted)
return false;
float newX = newPoint.X; float newX = newPoint.X;
float newY = newPoint.Y; float newY = newPoint.Y;
// allow outside region this mb needed for crossings // allow outside region this is needed for crossings
if (newX < -1f || newX > (scene.RegionInfo.RegionSizeX + 1.0f) || if (newX < -1f || newX > (scene.RegionInfo.RegionSizeX + 1.0f) ||
newY < -1f || newY > (scene.RegionInfo.RegionSizeY + 1.0f) ) newY < -1f || newY > (scene.RegionInfo.RegionSizeY + 1.0f) )
return true; return true;
if(sog == null || sog.IsDeleted)
return false;
if (m_bypassPermissions) if (m_bypassPermissions)
return m_bypassPermissionsValue; return m_bypassPermissionsValue;