* minox fix related to last commit

From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
0.6.3-post-fixes
Sean Dague 2009-01-22 16:06:26 +00:00
parent 40f32756cf
commit 54801bb142
1 changed files with 4 additions and 3 deletions

View File

@ -2451,16 +2451,17 @@ namespace OpenSim.Region.Environment.Scenes
//Console.WriteLine("BEFORE CROSS"); //Console.WriteLine("BEFORE CROSS");
//Scene.DumpChildrenSeeds(UUID); //Scene.DumpChildrenSeeds(UUID);
//DumpKnownRegions(); //DumpKnownRegions();
string agentcaps;
if (!m_knownChildRegions.ContainsKey(neighbourRegion.RegionHandle)) if (!m_knownChildRegions.TryGetValue(neighbourRegion.RegionHandle, out agentcaps))
{ {
m_log.ErrorFormat("[SCENE PRESENCE]: No CAPS information for region handle {0}, exiting CrossToNewRegion.", m_log.ErrorFormat("[SCENE PRESENCE]: No CAPS information for region handle {0}, exiting CrossToNewRegion.",
neighbourRegion.RegionHandle); neighbourRegion.RegionHandle);
return;
} }
// TODO Should construct this behind a method // TODO Should construct this behind a method
string capsPath = string capsPath =
"http://" + neighbourRegion.ExternalHostName + ":" + neighbourRegion.HttpPort "http://" + neighbourRegion.ExternalHostName + ":" + neighbourRegion.HttpPort
+ "/CAPS/" + m_knownChildRegions[neighbourRegion.RegionHandle] /*circuitdata.CapsPath*/ + "0000/"; + "/CAPS/" + agentcaps /*circuitdata.CapsPath*/ + "0000/";
m_log.DebugFormat("[CAPS]: Sending new CAPS seed url {0} to client {1}", capsPath, m_uuid); m_log.DebugFormat("[CAPS]: Sending new CAPS seed url {0} to client {1}", capsPath, m_uuid);