aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 cb2543f..cd70de8 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -472,7 +472,7 @@ namespace OpenSim.Region.Framework.Scenes
472 SceneObjectPart part = m_scene.GetSceneObjectPart(m_parentID); 472 SceneObjectPart part = m_scene.GetSceneObjectPart(m_parentID);
473 if (part != null) 473 if (part != null)
474 { 474 {
475 return m_parentPosition + (m_pos * part.RotationOffset); 475 return m_parentPosition + (m_pos * part.GetWorldRotation());
476 } 476 }
477 else 477 else
478 { 478 {