From 78649eb0999a5f97cc541c94ec98d1d06ed957cb Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Sat, 23 Nov 2013 01:35:08 +0000 Subject: [PATCH] Refix fix for sitting on non-root linked prims with explicit sit targets. I forgot that m_post is being set inconsistently between non-explicit and explicit ragets --- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 127ad40a84..c88025c940 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -2590,7 +2590,7 @@ namespace OpenSim.Region.Framework.Scenes //Quaternion result = (sitTargetOrient * vq) * nq; - m_pos = sitTargetPos + SIT_TARGET_ADJUSTMENT - part.GroupPosition; + m_pos = sitTargetPos + SIT_TARGET_ADJUSTMENT + part.OffsetPosition; Rotation = sitTargetOrient; ParentPosition = part.AbsolutePosition; }