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 0ac4027..5337835 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -4103,33 +4103,33 @@ namespace OpenSim.Region.Framework.Scenes | |||
4103 | // } | 4103 | // } |
4104 | // } | 4104 | // } |
4105 | 4105 | ||
4106 | /// <summary> | 4106 | // /// <summary> |
4107 | /// Triggered when an agent crosses into this sim. Also happens on initial login. | 4107 | // /// Triggered when an agent crosses into this sim. Also happens on initial login. |
4108 | /// </summary> | 4108 | // /// </summary> |
4109 | /// <param name="agentID"></param> | 4109 | // /// <param name="agentID"></param> |
4110 | /// <param name="position"></param> | 4110 | // /// <param name="position"></param> |
4111 | /// <param name="isFlying"></param> | 4111 | // /// <param name="isFlying"></param> |
4112 | public virtual void AgentCrossing(UUID agentID, Vector3 position, bool isFlying) | 4112 | // public virtual void AgentCrossing(UUID agentID, Vector3 position, bool isFlying) |
4113 | { | 4113 | // { |
4114 | ScenePresence presence = GetScenePresence(agentID); | 4114 | // ScenePresence presence = GetScenePresence(agentID); |
4115 | if (presence != null) | 4115 | // if (presence != null) |
4116 | { | 4116 | // { |
4117 | try | 4117 | // try |
4118 | { | 4118 | // { |
4119 | presence.MakeRootAgent(position, isFlying); | 4119 | // presence.MakeRootAgent(position, isFlying); |
4120 | } | 4120 | // } |
4121 | catch (Exception e) | 4121 | // catch (Exception e) |
4122 | { | 4122 | // { |
4123 | m_log.ErrorFormat("[SCENE]: Unable to do agent crossing, exception {0}{1}", e.Message, e.StackTrace); | 4123 | // m_log.ErrorFormat("[SCENE]: Unable to do agent crossing, exception {0}{1}", e.Message, e.StackTrace); |
4124 | } | 4124 | // } |
4125 | } | 4125 | // } |
4126 | else | 4126 | // else |
4127 | { | 4127 | // { |
4128 | m_log.ErrorFormat( | 4128 | // m_log.ErrorFormat( |
4129 | "[SCENE]: Could not find presence for agent {0} crossing into scene {1}", | 4129 | // "[SCENE]: Could not find presence for agent {0} crossing into scene {1}", |
4130 | agentID, RegionInfo.RegionName); | 4130 | // agentID, RegionInfo.RegionName); |
4131 | } | 4131 | // } |
4132 | } | 4132 | // } |
4133 | 4133 | ||
4134 | /// <summary> | 4134 | /// <summary> |
4135 | /// We've got an update about an agent that sees into this region, | 4135 | /// We've got an update about an agent that sees into this region, |