Change IsLocalRegion from using region handle to using regionID. This was affecting UpdateAgent and CloseAgent in cases where the foreign region is on the same coordinates as *some* local region.

This commit is contained in:
Diva Canto
2013-06-22 08:29:06 -07:00
parent ca3ce6da73
commit 6c7e33fe47
3 changed files with 6 additions and 7 deletions

View File

@@ -241,7 +241,7 @@ namespace OpenSim.Services.Connectors.Simulation
/// </summary>
private bool UpdateAgent(GridRegion destination, IAgentData cAgentData, int timeout)
{
// m_log.DebugFormat("[REMOTE SIMULATION CONNECTOR]: UpdateAgent start");
// m_log.DebugFormat("[REMOTE SIMULATION CONNECTOR]: UpdateAgent in {0}", destination.ServerURI);
// Eventually, we want to use a caps url instead of the agentID
string uri = destination.ServerURI + AgentPath() + cAgentData.AgentID + "/";