Thank you, mpallari, for a patch that increses efficiency by combining

avatar updates into a single packet.
Applied with changes.
Fixes Mantis #3136
This commit is contained in:
Melanie Thielker
2009-04-30 11:58:23 +00:00
parent 8944ab910c
commit 334738fca9
8 changed files with 70 additions and 19 deletions

View File

@@ -2367,7 +2367,7 @@ namespace OpenSim.Region.Framework.Scenes
Quaternion rot = m_bodyRot;
pos.Z -= m_appearance.HipOffset;
remoteClient.SendAvatarTerseUpdate(m_regionHandle, (ushort)(m_scene.TimeDilation * ushort.MaxValue), LocalId, new Vector3(pos.X, pos.Y, pos.Z),
new Vector3(vel.X, vel.Y, vel.Z), rot);
new Vector3(vel.X, vel.Y, vel.Z), rot, m_uuid);
m_scene.StatsReporter.AddAgentTime(Environment.TickCount - m_perfMonMS);
m_scene.StatsReporter.AddAgentUpdates(1);