aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 5301a82..3f4979e 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -223,7 +223,7 @@ namespace OpenSim.Region.Framework.Scenes
223 private float m_sitAvatarHeight = 2.0f; 223 private float m_sitAvatarHeight = 2.0f;
224 224
225 private Vector3 m_lastChildAgentUpdatePosition; 225 private Vector3 m_lastChildAgentUpdatePosition;
226 private Vector3 m_lastChildAgentUpdateCamPosition; 226// private Vector3 m_lastChildAgentUpdateCamPosition;
227 227
228 private const int LAND_VELOCITYMAG_MAX = 12; 228 private const int LAND_VELOCITYMAG_MAX = 12;
229 229
@@ -2108,8 +2108,7 @@ namespace OpenSim.Region.Framework.Scenes
2108 if (m_movementUpdateCount < 1) 2108 if (m_movementUpdateCount < 1)
2109 m_movementUpdateCount = 1; 2109 m_movementUpdateCount = 1;
2110 2110
2111 2111// AgentManager.ControlFlags flags = (AgentManager.ControlFlags)agentData.ControlFlags;
2112 AgentManager.ControlFlags flags = (AgentManager.ControlFlags)agentData.ControlFlags;
2113 2112
2114 // Camera location in world. We'll need to raytrace 2113 // Camera location in world. We'll need to raytrace
2115 // from this location from time to time. 2114 // from this location from time to time.
@@ -3241,7 +3240,7 @@ namespace OpenSim.Region.Framework.Scenes
3241 if (Util.GetDistanceTo(AbsolutePosition, m_lastChildAgentUpdatePosition) >= Scene.ChildReprioritizationDistance) 3240 if (Util.GetDistanceTo(AbsolutePosition, m_lastChildAgentUpdatePosition) >= Scene.ChildReprioritizationDistance)
3242 { 3241 {
3243 m_lastChildAgentUpdatePosition = AbsolutePosition; 3242 m_lastChildAgentUpdatePosition = AbsolutePosition;
3244 m_lastChildAgentUpdateCamPosition = CameraPosition; 3243// m_lastChildAgentUpdateCamPosition = CameraPosition;
3245 3244
3246 ChildAgentDataUpdate cadu = new ChildAgentDataUpdate(); 3245 ChildAgentDataUpdate cadu = new ChildAgentDataUpdate();
3247 cadu.ActiveGroupID = UUID.Zero.Guid; 3246 cadu.ActiveGroupID = UUID.Zero.Guid;