diff options
author | Melanie Thielker | 2009-04-30 11:58:23 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-04-30 11:58:23 +0000 |
commit | 334738fca96498f31842f42db974bc46da35d94a (patch) | |
tree | 95c8cc63ca624989f0dcb9cb1cffc9907c6fd3a6 /OpenSim/Region/Framework | |
parent | Thank you kindly, MCortez for a patch that: (diff) | |
download | opensim-SC-334738fca96498f31842f42db974bc46da35d94a.zip opensim-SC-334738fca96498f31842f42db974bc46da35d94a.tar.gz opensim-SC-334738fca96498f31842f42db974bc46da35d94a.tar.bz2 opensim-SC-334738fca96498f31842f42db974bc46da35d94a.tar.xz |
Thank you, mpallari, for a patch that increses efficiency by combining
avatar updates into a single packet.
Applied with changes.
Fixes Mantis #3136
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index d8ce080..5bfd947 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -2367,7 +2367,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2367 | Quaternion rot = m_bodyRot; | 2367 | Quaternion rot = m_bodyRot; |
2368 | pos.Z -= m_appearance.HipOffset; | 2368 | pos.Z -= m_appearance.HipOffset; |
2369 | remoteClient.SendAvatarTerseUpdate(m_regionHandle, (ushort)(m_scene.TimeDilation * ushort.MaxValue), LocalId, new Vector3(pos.X, pos.Y, pos.Z), | 2369 | remoteClient.SendAvatarTerseUpdate(m_regionHandle, (ushort)(m_scene.TimeDilation * ushort.MaxValue), LocalId, new Vector3(pos.X, pos.Y, pos.Z), |
2370 | new Vector3(vel.X, vel.Y, vel.Z), rot); | 2370 | new Vector3(vel.X, vel.Y, vel.Z), rot, m_uuid); |
2371 | 2371 | ||
2372 | m_scene.StatsReporter.AddAgentTime(Environment.TickCount - m_perfMonMS); | 2372 | m_scene.StatsReporter.AddAgentTime(Environment.TickCount - m_perfMonMS); |
2373 | m_scene.StatsReporter.AddAgentUpdates(1); | 2373 | m_scene.StatsReporter.AddAgentUpdates(1); |