fix the minimap sitting avatar location bug
a sitting avatar should have it's offset position added to the scene object, not its absolute position0.7-post-fixes
parent
34aea140c7
commit
3ab22b2015
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue