Changed the "not in scene" check in the prioritizier to just

a warning. There appears to be a race condition on slow logins
that attempts to prioritize before the scene presence is fully
initialized.
bulletsim
Mic Bowman 2011-04-10 17:02:40 -07:00
parent 19c6d1d569
commit ebc249e3be
1 changed files with 3 additions and 2 deletions

View File

@ -166,8 +166,9 @@ namespace OpenSim.Region.Framework.Scenes
ScenePresence presence = m_scene.GetScenePresence(client.AgentId); ScenePresence presence = m_scene.GetScenePresence(client.AgentId);
if (presence == null) if (presence == null)
{ {
m_log.WarnFormat("[PRIORITIZER] attempt to prioritize agent no longer in the scene"); m_log.WarnFormat("[PRIORITIZER] attempt to use agent {0} not in the scene",client.AgentId);
throw new InvalidOperationException("Prioritization agent not defined"); // throw new InvalidOperationException("Prioritization agent not defined");
return Int32.MaxValue;
} }
// Use group position for child prims, since we are putting child prims in // Use group position for child prims, since we are putting child prims in