diff options
author | Teravus Ovares (Dan Olivares) | 2009-09-10 03:25:55 -0400 |
---|---|---|
committer | Teravus Ovares (Dan Olivares) | 2009-09-10 03:25:55 -0400 |
commit | 1c878ec42502e8af2dfe8f25e4d42655dc70712f (patch) | |
tree | 0db2b21171f35dd04e665e40aa6f64740d9fa83d /OpenSim/Region/Framework/Scenes | |
parent | Merge branch 'master' of ssh://MyConnection/var/git/opensim (diff) | |
download | opensim-SC_OLD-1c878ec42502e8af2dfe8f25e4d42655dc70712f.zip opensim-SC_OLD-1c878ec42502e8af2dfe8f25e4d42655dc70712f.tar.gz opensim-SC_OLD-1c878ec42502e8af2dfe8f25e4d42655dc70712f.tar.bz2 opensim-SC_OLD-1c878ec42502e8af2dfe8f25e4d42655dc70712f.tar.xz |
* 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
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs index 0827672..1c71a99 100644 --- a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs +++ b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs | |||
@@ -443,8 +443,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
443 | int startX = (int) pRegionLocX - 1; | 443 | int startX = (int) pRegionLocX - 1; |
444 | int startY = (int) pRegionLocY - 1; | 444 | int startY = (int) pRegionLocY - 1; |
445 | 445 | ||
446 | int endX = (int) pRegionLocX + (int)extent.X + 1; | 446 | int endX = (int) pRegionLocX + (int)extent.X; |
447 | int endY = (int) pRegionLocY + (int)extent.Y + 1; | 447 | int endY = (int) pRegionLocY + (int)extent.Y; |
448 | 448 | ||
449 | for (int i=startX;i<endX;i++) | 449 | for (int i=startX;i<endX;i++) |
450 | { | 450 | { |