fix the minimap sitting avatar location bug
a sitting avatar should have it's offset position added to the scene object, not its absolute positionviewer-2-initial-appearance
parent
3053f5ba7d
commit
a918c8df97
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue