* Sending (position - hipoffset) instead of position

* Sending m_rotation instead of m_bodyRot in full updates to match terse updates (no idea which one is right!)
0.6.8-post-fixes
John Hurliman 2009-10-22 13:14:41 -07:00
parent a16c3bf446
commit 167d8e39fa
1 changed files with 2 additions and 5 deletions

View File

@ -2517,15 +2517,12 @@ namespace OpenSim.Region.Framework.Scenes
if (m_appearance.Texture == null)
return;
// Note: because Quaternion is a struct, it can't be null
Quaternion rot = m_bodyRot;
Vector3 pos = m_pos;
pos.Z -= m_appearance.HipOffset;
remoteAvatar.m_controllingClient.SendAvatarData(new SendAvatarData(m_regionInfo.RegionHandle, m_firstname, m_lastname, m_grouptitle, m_uuid,
LocalId, m_pos, m_appearance.Texture.GetBytes(),
m_parentID, rot));
LocalId, pos, m_appearance.Texture.GetBytes(),
m_parentID, m_bodyRot));
m_scene.StatsReporter.AddAgentUpdates(1);
}