diff options
author | Teravus Ovares | 2007-12-18 01:45:39 +0000 |
---|---|---|
committer | Teravus Ovares | 2007-12-18 01:45:39 +0000 |
commit | 38fe0dfa90a8c7998181765db266726ef77d7f2f (patch) | |
tree | bdb8ed7eb4c48b4493239bffc97586b43202c990 | |
parent | * Removed the ObjectDisposed error. (diff) | |
download | opensim-SC-38fe0dfa90a8c7998181765db266726ef77d7f2f.zip opensim-SC-38fe0dfa90a8c7998181765db266726ef77d7f2f.tar.gz opensim-SC-38fe0dfa90a8c7998181765db266726ef77d7f2f.tar.bz2 opensim-SC-38fe0dfa90a8c7998181765db266726ef77d7f2f.tar.xz |
* Added a Verbose and Debug error to border crossing so that this can be diagnosed further.
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index bfdf517..ac37fdd 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -1358,7 +1358,15 @@ namespace OpenSim.Region.Environment.Scenes | |||
1358 | { | 1358 | { |
1359 | if (m_scenePresences.ContainsKey(agentID)) | 1359 | if (m_scenePresences.ContainsKey(agentID)) |
1360 | { | 1360 | { |
1361 | m_scenePresences[agentID].MakeRootAgent(position, isFlying); | 1361 | try |
1362 | { | ||
1363 | m_scenePresences[agentID].MakeRootAgent(position, isFlying); | ||
1364 | } | ||
1365 | catch (System.Exception e) | ||
1366 | { | ||
1367 | MainLog.Instance.Verbose("SCENE", "Unable to do Agent Crossing."); | ||
1368 | MainLog.Instance.Debug("SCENE",e.ToString()); | ||
1369 | } | ||
1362 | //m_innerScene.SwapRootChildAgent(false); | 1370 | //m_innerScene.SwapRootChildAgent(false); |
1363 | } | 1371 | } |
1364 | } | 1372 | } |