aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-08-17 01:00:20 +0100
committerJustin Clark-Casey (justincc)2013-08-17 01:00:20 +0100
commitd38d5ecbac5777c2bea1f9858410d7d2ff13935b (patch)
tree5c68e85d01d37d5b85e7c52c5bef1a11e16cc8c8 /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentremove mono compiler warnings from PollServiceRequestManager (diff)
downloadopensim-SC-d38d5ecbac5777c2bea1f9858410d7d2ff13935b.zip
opensim-SC-d38d5ecbac5777c2bea1f9858410d7d2ff13935b.tar.gz
opensim-SC-d38d5ecbac5777c2bea1f9858410d7d2ff13935b.tar.bz2
opensim-SC-d38d5ecbac5777c2bea1f9858410d7d2ff13935b.tar.xz
minor: remove mono compiler warnings from ScenePresence
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 69339b7..37e5286 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -219,7 +219,7 @@ namespace OpenSim.Region.Framework.Scenes
219 private float m_sitAvatarHeight = 2.0f; 219 private float m_sitAvatarHeight = 2.0f;
220 220
221 private Vector3 m_lastChildAgentUpdatePosition; 221 private Vector3 m_lastChildAgentUpdatePosition;
222 private Vector3 m_lastChildAgentUpdateCamPosition; 222// private Vector3 m_lastChildAgentUpdateCamPosition;
223 223
224 private const int LAND_VELOCITYMAG_MAX = 12; 224 private const int LAND_VELOCITYMAG_MAX = 12;
225 225
@@ -1847,8 +1847,7 @@ namespace OpenSim.Region.Framework.Scenes
1847 if (m_movementUpdateCount < 1) 1847 if (m_movementUpdateCount < 1)
1848 m_movementUpdateCount = 1; 1848 m_movementUpdateCount = 1;
1849 1849
1850 1850// AgentManager.ControlFlags flags = (AgentManager.ControlFlags)agentData.ControlFlags;
1851 AgentManager.ControlFlags flags = (AgentManager.ControlFlags)agentData.ControlFlags;
1852 1851
1853 // Camera location in world. We'll need to raytrace 1852 // Camera location in world. We'll need to raytrace
1854 // from this location from time to time. 1853 // from this location from time to time.
@@ -3025,7 +3024,7 @@ namespace OpenSim.Region.Framework.Scenes
3025 if (Util.GetDistanceTo(AbsolutePosition, m_lastChildAgentUpdatePosition) >= Scene.ChildReprioritizationDistance) 3024 if (Util.GetDistanceTo(AbsolutePosition, m_lastChildAgentUpdatePosition) >= Scene.ChildReprioritizationDistance)
3026 { 3025 {
3027 m_lastChildAgentUpdatePosition = AbsolutePosition; 3026 m_lastChildAgentUpdatePosition = AbsolutePosition;
3028 m_lastChildAgentUpdateCamPosition = CameraPosition; 3027// m_lastChildAgentUpdateCamPosition = CameraPosition;
3029 3028
3030 ChildAgentDataUpdate cadu = new ChildAgentDataUpdate(); 3029 ChildAgentDataUpdate cadu = new ChildAgentDataUpdate();
3031 cadu.ActiveGroupID = UUID.Zero.Guid; 3030 cadu.ActiveGroupID = UUID.Zero.Guid;