aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-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 1d7bf4c..b54d1b8 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -497,7 +497,7 @@ namespace OpenSim.Region.Framework.Scenes
497 SceneObjectPart part = m_scene.GetSceneObjectPart(m_parentID); 497 SceneObjectPart part = m_scene.GetSceneObjectPart(m_parentID);
498 if (part != null) 498 if (part != null)
499 { 499 {
500 return m_parentPosition + (m_pos * part.GetWorldRotation()); 500 return part.AbsolutePosition + (m_pos * part.GetWorldRotation());
501 } 501 }
502 else 502 else
503 { 503 {