aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie2013-03-29 01:52:45 +0000
committerMelanie2013-03-29 01:52:45 +0000
commit7d5eadf75397733a84e6851a13c6fd891f9b8b4a (patch)
tree164090c98316a121ed57d903e853a6f7123cceb7 /OpenSim
parentMerge commit '4ad9b275302ee109937512963eab095ff542a0c7' into careminster (diff)
parentminor: comment out unused Scene.AgentCrossing() to reduce code complexity (diff)
downloadopensim-SC_OLD-7d5eadf75397733a84e6851a13c6fd891f9b8b4a.zip
opensim-SC_OLD-7d5eadf75397733a84e6851a13c6fd891f9b8b4a.tar.gz
opensim-SC_OLD-7d5eadf75397733a84e6851a13c6fd891f9b8b4a.tar.bz2
opensim-SC_OLD-7d5eadf75397733a84e6851a13c6fd891f9b8b4a.tar.xz
Merge commit '03e421bf3d796bf3498f4f3311c59ce04fb1fea1' into careminster
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs54
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,