aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-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 17b6126..127ad40 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -2590,7 +2590,7 @@ namespace OpenSim.Region.Framework.Scenes
2590 2590
2591 //Quaternion result = (sitTargetOrient * vq) * nq; 2591 //Quaternion result = (sitTargetOrient * vq) * nq;
2592 2592
2593 m_pos = sitTargetPos + SIT_TARGET_ADJUSTMENT; 2593 m_pos = sitTargetPos + SIT_TARGET_ADJUSTMENT - part.GroupPosition;
2594 Rotation = sitTargetOrient; 2594 Rotation = sitTargetOrient;
2595 ParentPosition = part.AbsolutePosition; 2595 ParentPosition = part.AbsolutePosition;
2596 } 2596 }