mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user