mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
* Caught 2 dictionary exceptions that were unhandled
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user