From 03e421bf3d796bf3498f4f3311c59ce04fb1fea1 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Thu, 28 Mar 2013 22:55:13 +0000
Subject: minor: comment out unused Scene.AgentCrossing() to reduce code
complexity
---
OpenSim/Region/Framework/Scenes/Scene.cs | 54 ++++++++++++++++----------------
1 file changed, 27 insertions(+), 27 deletions(-)
(limited to 'OpenSim/Region/Framework')
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
// }
// }
- ///
- /// Triggered when an agent crosses into this sim. Also happens on initial login.
- ///
- ///
- ///
- ///
- public virtual void AgentCrossing(UUID agentID, Vector3 position, bool isFlying)
- {
- ScenePresence presence = GetScenePresence(agentID);
- if (presence != null)
- {
- try
- {
- presence.MakeRootAgent(position, isFlying);
- }
- catch (Exception e)
- {
- m_log.ErrorFormat("[SCENE]: Unable to do agent crossing, exception {0}{1}", e.Message, e.StackTrace);
- }
- }
- else
- {
- m_log.ErrorFormat(
- "[SCENE]: Could not find presence for agent {0} crossing into scene {1}",
- agentID, RegionInfo.RegionName);
- }
- }
+// ///
+// /// Triggered when an agent crosses into this sim. Also happens on initial login.
+// ///
+// ///
+// ///
+// ///
+// public virtual void AgentCrossing(UUID agentID, Vector3 position, bool isFlying)
+// {
+// ScenePresence presence = GetScenePresence(agentID);
+// if (presence != null)
+// {
+// try
+// {
+// presence.MakeRootAgent(position, isFlying);
+// }
+// catch (Exception e)
+// {
+// m_log.ErrorFormat("[SCENE]: Unable to do agent crossing, exception {0}{1}", e.Message, e.StackTrace);
+// }
+// }
+// else
+// {
+// m_log.ErrorFormat(
+// "[SCENE]: Could not find presence for agent {0} crossing into scene {1}",
+// agentID, RegionInfo.RegionName);
+// }
+// }
///
/// We've got an update about an agent that sees into this region,
--
cgit v1.1