* Caught 2 dictionary exceptions that were unhandled
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>0.6.3-post-fixes
parent
9ebba37a7c
commit
9704196bbf
|
@ -175,9 +175,11 @@ namespace OpenSim.Region.Environment.Modules.Agent.Capabilities
|
|||
public string GetChildSeed(UUID agentID, ulong handle)
|
||||
{
|
||||
Dictionary<ulong, string> seeds;
|
||||
string returnval;
|
||||
if (childrenSeeds.TryGetValue(agentID, out seeds))
|
||||
{
|
||||
return seeds[handle];
|
||||
if (seeds.TryGetValue(handle, out returnval))
|
||||
return returnval;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
|
|
@ -2452,6 +2452,11 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
//Scene.DumpChildrenSeeds(UUID);
|
||||
//DumpKnownRegions();
|
||||
|
||||
if (!m_knownChildRegions.ContainsKey(neighbourRegion.RegionHandle))
|
||||
{
|
||||
m_log.ErrorFormat("[SCENE PRESENCE]: No CAPS information for region handle {0}, exiting CrossToNewRegion.",
|
||||
neighbourRegion.RegionHandle);
|
||||
}
|
||||
// TODO Should construct this behind a method
|
||||
string capsPath =
|
||||
"http://" + neighbourRegion.ExternalHostName + ":" + neighbourRegion.HttpPort
|
||||
|
|
Loading…
Reference in New Issue