diff options
author | Melanie | 2011-02-07 23:07:36 +0000 |
---|---|---|
committer | Melanie | 2011-02-07 23:07:36 +0000 |
commit | 076f2ac8dbfa3dae31961ceadc41f4c0319f1fb0 (patch) | |
tree | d6d80e7364bd96b95dddfbf03b708e2ea6ba3f77 /OpenSim/Region/CoreModules/ServiceConnectorsOut | |
parent | Fix merge issues (diff) | |
parent | Hunting down mantis #5365 (diff) | |
download | opensim-SC_OLD-076f2ac8dbfa3dae31961ceadc41f4c0319f1fb0.zip opensim-SC_OLD-076f2ac8dbfa3dae31961ceadc41f4c0319f1fb0.tar.gz opensim-SC_OLD-076f2ac8dbfa3dae31961ceadc41f4c0319f1fb0.tar.bz2 opensim-SC_OLD-076f2ac8dbfa3dae31961ceadc41f4c0319f1fb0.tar.xz |
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/CoreModules/ServiceConnectorsOut')
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/LocalGridServiceConnector.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/LocalGridServiceConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/LocalGridServiceConnector.cs index 023a44c..3c36799 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/LocalGridServiceConnector.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/LocalGridServiceConnector.cs | |||
@@ -247,13 +247,17 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid | |||
247 | 247 | ||
248 | public void NeighboursCommand(string module, string[] cmdparams) | 248 | public void NeighboursCommand(string module, string[] cmdparams) |
249 | { | 249 | { |
250 | System.Text.StringBuilder caps = new System.Text.StringBuilder(); | ||
251 | |||
250 | foreach (KeyValuePair<UUID, RegionCache> kvp in m_LocalCache) | 252 | foreach (KeyValuePair<UUID, RegionCache> kvp in m_LocalCache) |
251 | { | 253 | { |
252 | m_log.InfoFormat("*** Neighbours of {0} {1} ***", kvp.Key, kvp.Value.RegionName); | 254 | caps.AppendFormat("*** Neighbours of {0} ({1}) ***\n", kvp.Value.RegionName, kvp.Key); |
253 | List<GridRegion> regions = kvp.Value.GetNeighbours(); | 255 | List<GridRegion> regions = kvp.Value.GetNeighbours(); |
254 | foreach (GridRegion r in regions) | 256 | foreach (GridRegion r in regions) |
255 | m_log.InfoFormat(" {0} @ {1}={2}", r.RegionName, r.RegionLocX / Constants.RegionSize, r.RegionLocY / Constants.RegionSize); | 257 | caps.AppendFormat(" {0} @ {1}-{2}\n", r.RegionName, r.RegionLocX / Constants.RegionSize, r.RegionLocY / Constants.RegionSize); |
256 | } | 258 | } |
259 | |||
260 | MainConsole.Instance.Output(caps.ToString()); | ||
257 | } | 261 | } |
258 | 262 | ||
259 | } | 263 | } |