fix the minimap sitting avatar location bug

a sitting avatar should have it's offset position added to the scene object, not its absolute position
viewer-2-initial-appearance
Justin Clark-Casey (justincc) 2010-12-10 03:46:16 +00:00
parent 3053f5ba7d
commit a918c8df97
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ namespace OpenSim.Region.Framework.Scenes
SceneObjectPart sop = m_parentScene.GetSceneObjectPart(sp.ParentID);
if (sop != null)
{
coarseLocations.Add(sop.AbsolutePosition + sp.AbsolutePosition);
coarseLocations.Add(sop.AbsolutePosition + sp.OffsetPosition);
avatarUUIDs.Add(sp.UUID);
}
else