aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications/Local/LocalBackEndServices.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Communications/Local/LocalBackEndServices.cs')
-rw-r--r--OpenSim/Region/Communications/Local/LocalBackEndServices.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/Communications/Local/LocalBackEndServices.cs b/OpenSim/Region/Communications/Local/LocalBackEndServices.cs
index 306ea27..33bc2fa 100644
--- a/OpenSim/Region/Communications/Local/LocalBackEndServices.cs
+++ b/OpenSim/Region/Communications/Local/LocalBackEndServices.cs
@@ -84,10 +84,10 @@ namespace OpenSim.Region.Communications.Local
84 /// <returns></returns> 84 /// <returns></returns>
85 public RegionCommsListener RegisterRegion(RegionInfo regionInfo) 85 public RegionCommsListener RegisterRegion(RegionInfo regionInfo)
86 { 86 {
87 //Console.WriteLine("CommsManager - Region " + regionInfo.RegionHandle + " , " + regionInfo.RegionLocX + " , "+ regionInfo.RegionLocY +" is registering"); 87 //m_log.Debug("CommsManager - Region " + regionInfo.RegionHandle + " , " + regionInfo.RegionLocX + " , "+ regionInfo.RegionLocY +" is registering");
88 if (!m_regions.ContainsKey(regionInfo.RegionHandle)) 88 if (!m_regions.ContainsKey(regionInfo.RegionHandle))
89 { 89 {
90 //Console.WriteLine("CommsManager - Adding Region " + regionInfo.RegionHandle); 90 //m_log.Debug("CommsManager - Adding Region " + regionInfo.RegionHandle);
91 m_regions.Add(regionInfo.RegionHandle, regionInfo); 91 m_regions.Add(regionInfo.RegionHandle, regionInfo);
92 92
93 RegionCommsListener regionHost = new RegionCommsListener(); 93 RegionCommsListener regionHost = new RegionCommsListener();
@@ -145,15 +145,15 @@ namespace OpenSim.Region.Communications.Local
145 /// <returns></returns> 145 /// <returns></returns>
146 public List<SimpleRegionInfo> RequestNeighbours(uint x, uint y) 146 public List<SimpleRegionInfo> RequestNeighbours(uint x, uint y)
147 { 147 {
148 // Console.WriteLine("Finding Neighbours to " + regionInfo.RegionHandle); 148 // m_log.Debug("Finding Neighbours to " + regionInfo.RegionHandle);
149 List<SimpleRegionInfo> neighbours = new List<SimpleRegionInfo>(); 149 List<SimpleRegionInfo> neighbours = new List<SimpleRegionInfo>();
150 150
151 foreach (RegionInfo reg in m_regions.Values) 151 foreach (RegionInfo reg in m_regions.Values)
152 { 152 {
153 // Console.WriteLine("CommsManager- RequestNeighbours() checking region " + reg.RegionLocX + " , "+ reg.RegionLocY); 153 // m_log.Debug("CommsManager- RequestNeighbours() checking region " + reg.RegionLocX + " , "+ reg.RegionLocY);
154 if (reg.RegionLocX != x || reg.RegionLocY != y) 154 if (reg.RegionLocX != x || reg.RegionLocY != y)
155 { 155 {
156 //Console.WriteLine("CommsManager- RequestNeighbours() - found a different region in list, checking location"); 156 //m_log.Debug("CommsManager- RequestNeighbours() - found a different region in list, checking location");
157 if ((reg.RegionLocX > (x - 2)) && (reg.RegionLocX < (x + 2))) 157 if ((reg.RegionLocX > (x - 2)) && (reg.RegionLocX < (x + 2)))
158 { 158 {
159 if ((reg.RegionLocY > (y - 2)) && (reg.RegionLocY < (y + 2))) 159 if ((reg.RegionLocY > (y - 2)) && (reg.RegionLocY < (y + 2)))