diff options
author | Justin Clark-Casey (justincc) | 2013-03-28 22:55:13 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-03-28 22:55:13 +0000 |
commit | 03e421bf3d796bf3498f4f3311c59ce04fb1fea1 (patch) | |
tree | 58c8abe08120334b89e305c3c9de07ab4bea9ba3 /OpenSim/Region/Framework/Scenes | |
parent | If the viewer has already rezzed any attachments itself, then ignore the simu... (diff) | |
download | opensim-SC_OLD-03e421bf3d796bf3498f4f3311c59ce04fb1fea1.zip opensim-SC_OLD-03e421bf3d796bf3498f4f3311c59ce04fb1fea1.tar.gz opensim-SC_OLD-03e421bf3d796bf3498f4f3311c59ce04fb1fea1.tar.bz2 opensim-SC_OLD-03e421bf3d796bf3498f4f3311c59ce04fb1fea1.tar.xz |
minor: comment out unused Scene.AgentCrossing() to reduce code complexity
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-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, |