From af564291f277a1676164a1cac62a4a210f452749 Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Sat, 15 Oct 2011 03:17:58 +0100 Subject: [PATCH] improve method doc on Scene.OtherRegionUp() this is really just to trigger panda. --- OpenSim/Region/Framework/Scenes/Scene.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 48b42fe6d0..0bf3fed5ef 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs @@ -864,13 +864,14 @@ namespace OpenSim.Region.Framework.Scenes } /// - /// Another region is up. - /// + /// Process the fact that a neighbouring region has come up. + /// + /// /// We only add it to the neighbor list if it's within 1 region from here. /// Agents may have draw distance values that cross two regions though, so /// we add it to the notify list regardless of distance. We'll check /// the agent's draw distance before notifying them though. - /// + /// /// RegionInfo handle for the new region. /// True after all operations complete, throws exceptions otherwise. public override void OtherRegionUp(GridRegion otherRegion) @@ -882,7 +883,6 @@ namespace OpenSim.Region.Framework.Scenes if (RegionInfo.RegionHandle != otherRegion.RegionHandle) { - // If these are cast to INT because long + negative values + abs returns invalid data int resultX = Math.Abs((int)xcell - (int)RegionInfo.RegionLocX); int resultY = Math.Abs((int)ycell - (int)RegionInfo.RegionLocY);