aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-08-26 22:13:31 +0100
committerJustin Clark-Casey (justincc)2010-08-26 22:13:31 +0100
commit7f5501d3ab20f986317828c8c41783d64770f7a7 (patch)
treea65ac9e2d3a8e4763bcbb6bf6da4d79a9ae2caa2 /OpenSim
parentrefactor: Move Scene.Inventory.UpdateKnownItem() into Attachments module sinc... (diff)
downloadopensim-SC_OLD-7f5501d3ab20f986317828c8c41783d64770f7a7.zip
opensim-SC_OLD-7f5501d3ab20f986317828c8c41783d64770f7a7.tar.gz
opensim-SC_OLD-7f5501d3ab20f986317828c8c41783d64770f7a7.tar.bz2
opensim-SC_OLD-7f5501d3ab20f986317828c8c41783d64770f7a7.tar.xz
minor: remove mono compiler warning
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index a4eae42..fbb3177 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -2326,14 +2326,15 @@ namespace OpenSim.Region.Framework.Scenes
2326 { 2326 {
2327 m_perfMonMS = Util.EnvironmentTickCount(); 2327 m_perfMonMS = Util.EnvironmentTickCount();
2328 2328
2329 PhysicsActor actor = m_physicsActor;
2330
2331 Vector3 pos = m_pos; 2329 Vector3 pos = m_pos;
2332 pos.Z += m_appearance.HipOffset; 2330 pos.Z += m_appearance.HipOffset;
2333 2331
2334 //m_log.DebugFormat("[SCENEPRESENCE]: TerseUpdate: Pos={0} Rot={1} Vel={2}", m_pos, m_bodyRot, m_velocity); 2332 //m_log.DebugFormat("[SCENEPRESENCE]: TerseUpdate: Pos={0} Rot={1} Vel={2}", m_pos, m_bodyRot, m_velocity);
2335 2333
2336 remoteClient.SendPrimUpdate(this, PrimUpdateFlags.Position | PrimUpdateFlags.Rotation | PrimUpdateFlags.Velocity | PrimUpdateFlags.Acceleration | PrimUpdateFlags.AngularVelocity); 2334 remoteClient.SendPrimUpdate(
2335 this,
2336 PrimUpdateFlags.Position | PrimUpdateFlags.Rotation | PrimUpdateFlags.Velocity
2337 | PrimUpdateFlags.Acceleration | PrimUpdateFlags.AngularVelocity);
2337 2338
2338 m_scene.StatsReporter.AddAgentTime(Util.EnvironmentTickCountSubtract(m_perfMonMS)); 2339 m_scene.StatsReporter.AddAgentTime(Util.EnvironmentTickCountSubtract(m_perfMonMS));
2339 m_scene.StatsReporter.AddAgentUpdates(1); 2340 m_scene.StatsReporter.AddAgentUpdates(1);