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
0.7-post-fixes
Justin Clark-Casey (justincc) 2010-12-10 03:46:16 +00:00
parent 34aea140c7
commit 3ab22b2015
1 changed files with 1 additions and 1 deletions

View File

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