diff options
author | Justin Clark-Casey (justincc) | 2011-10-15 03:17:58 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-10-15 03:17:58 +0100 |
commit | b9930a6305e9c8bb9197fc9dc49219f4fb7ff32c (patch) | |
tree | 74182deaeb238ce6cebe61720a8ffd738dc87b61 /OpenSim | |
parent | move see_into_this_sim_from_neighbor [Startup] flag parsing into Scene with t... (diff) | |
download | opensim-SC_OLD-b9930a6305e9c8bb9197fc9dc49219f4fb7ff32c.zip opensim-SC_OLD-b9930a6305e9c8bb9197fc9dc49219f4fb7ff32c.tar.gz opensim-SC_OLD-b9930a6305e9c8bb9197fc9dc49219f4fb7ff32c.tar.bz2 opensim-SC_OLD-b9930a6305e9c8bb9197fc9dc49219f4fb7ff32c.tar.xz |
improve method doc on Scene.OtherRegionUp()
this is really just to trigger panda.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 5876da9..8a32e1d 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -869,13 +869,14 @@ namespace OpenSim.Region.Framework.Scenes | |||
869 | } | 869 | } |
870 | 870 | ||
871 | /// <summary> | 871 | /// <summary> |
872 | /// Another region is up. | 872 | /// Process the fact that a neighbouring region has come up. |
873 | /// | 873 | /// </summary> |
874 | /// <remarks> | ||
874 | /// We only add it to the neighbor list if it's within 1 region from here. | 875 | /// We only add it to the neighbor list if it's within 1 region from here. |
875 | /// Agents may have draw distance values that cross two regions though, so | 876 | /// Agents may have draw distance values that cross two regions though, so |
876 | /// we add it to the notify list regardless of distance. We'll check | 877 | /// we add it to the notify list regardless of distance. We'll check |
877 | /// the agent's draw distance before notifying them though. | 878 | /// the agent's draw distance before notifying them though. |
878 | /// </summary> | 879 | /// </remarks> |
879 | /// <param name="otherRegion">RegionInfo handle for the new region.</param> | 880 | /// <param name="otherRegion">RegionInfo handle for the new region.</param> |
880 | /// <returns>True after all operations complete, throws exceptions otherwise.</returns> | 881 | /// <returns>True after all operations complete, throws exceptions otherwise.</returns> |
881 | public override void OtherRegionUp(GridRegion otherRegion) | 882 | public override void OtherRegionUp(GridRegion otherRegion) |
@@ -887,7 +888,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
887 | 888 | ||
888 | if (RegionInfo.RegionHandle != otherRegion.RegionHandle) | 889 | if (RegionInfo.RegionHandle != otherRegion.RegionHandle) |
889 | { | 890 | { |
890 | |||
891 | // If these are cast to INT because long + negative values + abs returns invalid data | 891 | // If these are cast to INT because long + negative values + abs returns invalid data |
892 | int resultX = Math.Abs((int)xcell - (int)RegionInfo.RegionLocX); | 892 | int resultX = Math.Abs((int)xcell - (int)RegionInfo.RegionLocX); |
893 | int resultY = Math.Abs((int)ycell - (int)RegionInfo.RegionLocY); | 893 | int resultY = Math.Abs((int)ycell - (int)RegionInfo.RegionLocY); |