aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs10
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 }