mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user