diff options
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 3835047..94ead98 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -4314,33 +4314,33 @@ namespace OpenSim.Region.Framework.Scenes | |||
4314 | // } | 4314 | // } |
4315 | // } | 4315 | // } |
4316 | 4316 | ||
4317 | /// <summary> | 4317 | // /// <summary> |
4318 | /// Triggered when an agent crosses into this sim. Also happens on initial login. | 4318 | // /// Triggered when an agent crosses into this sim. Also happens on initial login. |
4319 | /// </summary> | 4319 | // /// </summary> |
4320 | /// <param name="agentID"></param> | 4320 | // /// <param name="agentID"></param> |
4321 | /// <param name="position"></param> | 4321 | // /// <param name="position"></param> |
4322 | /// <param name="isFlying"></param> | 4322 | // /// <param name="isFlying"></param> |
4323 | public virtual void AgentCrossing(UUID agentID, Vector3 position, bool isFlying) | 4323 | // public virtual void AgentCrossing(UUID agentID, Vector3 position, bool isFlying) |
4324 | { | 4324 | // { |
4325 | ScenePresence presence = GetScenePresence(agentID); | 4325 | // ScenePresence presence = GetScenePresence(agentID); |
4326 | if (presence != null) | 4326 | // if (presence != null) |
4327 | { | 4327 | // { |
4328 | try | 4328 | // try |
4329 | { | 4329 | // { |
4330 | presence.MakeRootAgent(position, isFlying); | 4330 | // presence.MakeRootAgent(position, isFlying); |
4331 | } | 4331 | // } |
4332 | catch (Exception e) | 4332 | // catch (Exception e) |
4333 | { | 4333 | // { |
4334 | m_log.ErrorFormat("[SCENE]: Unable to do agent crossing, exception {0}{1}", e.Message, e.StackTrace); | 4334 | // m_log.ErrorFormat("[SCENE]: Unable to do agent crossing, exception {0}{1}", e.Message, e.StackTrace); |
4335 | } | 4335 | // } |
4336 | } | 4336 | // } |
4337 | else | 4337 | // else |
4338 | { | 4338 | // { |
4339 | m_log.ErrorFormat( | 4339 | // m_log.ErrorFormat( |
4340 | "[SCENE]: Could not find presence for agent {0} crossing into scene {1}", | 4340 | // "[SCENE]: Could not find presence for agent {0} crossing into scene {1}", |
4341 | agentID, RegionInfo.RegionName); | 4341 | // agentID, RegionInfo.RegionName); |
4342 | } | 4342 | // } |
4343 | } | 4343 | // } |
4344 | 4344 | ||
4345 | /// <summary> | 4345 | /// <summary> |
4346 | /// We've got an update about an agent that sees into this region, | 4346 | /// We've got an update about an agent that sees into this region, |