aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index a0b4019..6e613a7 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -538,7 +538,7 @@ namespace OpenSim.Region.Framework.Scenes
538 SceneObjectPart sitPart = ParentPart; 538 SceneObjectPart sitPart = ParentPart;
539 539
540 if (sitPart != null) 540 if (sitPart != null)
541 return sitPart.AbsolutePosition + (m_pos * sitPart.GetWorldRotation()); 541 return sitPart.ParentGroup.AbsolutePosition + (m_pos * sitPart.GetWorldRotation());
542 } 542 }
543 543
544 return m_pos; 544 return m_pos;