* Added a Verbose and Debug error to border crossing so that this can be diagnosed further.

afrisby
Teravus Ovares 2007-12-18 01:45:39 +00:00
parent 425a7656ed
commit 38fe0dfa90
1 changed files with 9 additions and 1 deletions

View File

@ -1358,7 +1358,15 @@ namespace OpenSim.Region.Environment.Scenes
{
if (m_scenePresences.ContainsKey(agentID))
{
m_scenePresences[agentID].MakeRootAgent(position, isFlying);
try
{
m_scenePresences[agentID].MakeRootAgent(position, isFlying);
}
catch (System.Exception e)
{
MainLog.Instance.Verbose("SCENE", "Unable to do Agent Crossing.");
MainLog.Instance.Debug("SCENE",e.ToString());
}
//m_innerScene.SwapRootChildAgent(false);
}
}