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
link-sitting
Justin Clark-Casey (justincc) 2013-11-23 01:35:08 +00:00
parent 70e651a8d1
commit 78649eb099
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}