From 1c878ec42502e8af2dfe8f25e4d42655dc70712f Mon Sep 17 00:00:00 2001 From: "Teravus Ovares (Dan Olivares)" Date: Thu, 10 Sep 2009 03:25:55 -0400 Subject: [PATCH] * Fix an off by one error on visible neighbors in the 'RequestNeighbors' method. This off by one error showed one extra row of neighbors on the north and east side --- OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs index 0827672ec7..1c71a99919 100644 --- a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs +++ b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs @@ -443,8 +443,8 @@ namespace OpenSim.Region.Framework.Scenes int startX = (int) pRegionLocX - 1; int startY = (int) pRegionLocY - 1; - int endX = (int) pRegionLocX + (int)extent.X + 1; - int endY = (int) pRegionLocY + (int)extent.Y + 1; + int endX = (int) pRegionLocX + (int)extent.X; + int endY = (int) pRegionLocY + (int)extent.Y; for (int i=startX;i