improve method doc on Scene.OtherRegionUp()

this is really just to trigger panda.
remove-scene-viewer
Justin Clark-Casey (justincc) 2011-10-15 03:17:58 +01:00
parent ddf54b5537
commit b9930a6305
1 changed files with 4 additions and 4 deletions

View File

@ -869,13 +869,14 @@ namespace OpenSim.Region.Framework.Scenes
} }
/// <summary> /// <summary>
/// Another region is up. /// Process the fact that a neighbouring region has come up.
/// /// </summary>
/// <remarks>
/// We only add it to the neighbor list if it's within 1 region from here. /// 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 /// 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 /// we add it to the notify list regardless of distance. We'll check
/// the agent's draw distance before notifying them though. /// the agent's draw distance before notifying them though.
/// </summary> /// </remarks>
/// <param name="otherRegion">RegionInfo handle for the new region.</param> /// <param name="otherRegion">RegionInfo handle for the new region.</param>
/// <returns>True after all operations complete, throws exceptions otherwise.</returns> /// <returns>True after all operations complete, throws exceptions otherwise.</returns>
public override void OtherRegionUp(GridRegion otherRegion) public override void OtherRegionUp(GridRegion otherRegion)
@ -887,7 +888,6 @@ namespace OpenSim.Region.Framework.Scenes
if (RegionInfo.RegionHandle != otherRegion.RegionHandle) if (RegionInfo.RegionHandle != otherRegion.RegionHandle)
{ {
// If these are cast to INT because long + negative values + abs returns invalid data // If these are cast to INT because long + negative values + abs returns invalid data
int resultX = Math.Abs((int)xcell - (int)RegionInfo.RegionLocX); int resultX = Math.Abs((int)xcell - (int)RegionInfo.RegionLocX);
int resultY = Math.Abs((int)ycell - (int)RegionInfo.RegionLocY); int resultY = Math.Abs((int)ycell - (int)RegionInfo.RegionLocY);