Avoid an exception in creating child agents some times.

0.8.0.3
Diva Canto 2014-07-03 20:09:16 -07:00 committed by Justin Clark-Casey
parent 693a3ea8fa
commit e9447cc836
1 changed files with 2 additions and 0 deletions

View File

@ -1866,6 +1866,8 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
//foreach (ulong h in agent.ChildrenCapSeeds.Keys)
// m_log.DebugFormat("[XXX] --> {0}", h);
//m_log.DebugFormat("[XXX] Adding {0}", region.RegionHandle);
if (agent.ChildrenCapSeeds.ContainsKey(region.RegionHandle))
agent.ChildrenCapSeeds.Remove(region.RegionHandle);
agent.ChildrenCapSeeds.Add(region.RegionHandle, agent.CapsPath);
if (sp.Scene.CapsModule != null)