aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs
index 0e22156..d76ed3e 100644
--- a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs
@@ -174,7 +174,6 @@ namespace OpenSim.Region.Framework.Scenes
174 { 174 {
175 // We're ignoring a collection was modified error because this data gets old and outdated fast. 175 // We're ignoring a collection was modified error because this data gets old and outdated fast.
176 } 176 }
177
178 } 177 }
179 178
180 /// <summary> 179 /// <summary>
@@ -182,13 +181,18 @@ namespace OpenSim.Region.Framework.Scenes
182 /// </summary> 181 /// </summary>
183 protected void SendCloseChildAgent(UUID agentID, ulong regionHandle) 182 protected void SendCloseChildAgent(UUID agentID, ulong regionHandle)
184 { 183 {
185 m_log.Debug("[INTERGRID]: Sending close agent to " + regionHandle);
186 // let's do our best, but there's not much we can do if the neighbour doesn't accept. 184 // let's do our best, but there's not much we can do if the neighbour doesn't accept.
187 185
188 //m_commsProvider.InterRegion.TellRegionToCloseChildConnection(regionHandle, agentID); 186 //m_commsProvider.InterRegion.TellRegionToCloseChildConnection(regionHandle, agentID);
189 uint x = 0, y = 0; 187 uint x = 0, y = 0;
190 Utils.LongToUInts(regionHandle, out x, out y); 188 Utils.LongToUInts(regionHandle, out x, out y);
189
191 GridRegion destination = m_scene.GridService.GetRegionByPosition(m_regionInfo.ScopeID, (int)x, (int)y); 190 GridRegion destination = m_scene.GridService.GetRegionByPosition(m_regionInfo.ScopeID, (int)x, (int)y);
191
192 m_log.DebugFormat(
193 "[INTERGRID]: Sending close agent {0} to region at {1}-{2}",
194 agentID, destination.RegionCoordX, destination.RegionCoordY);
195
192 m_scene.SimulationService.CloseAgent(destination, agentID); 196 m_scene.SimulationService.CloseAgent(destination, agentID);
193 } 197 }
194 198