Fix non-root prim sit positions for prims where a sit target has been specified as well.

link-sitting
Justin Clark-Casey (justincc) 2013-11-23 01:32:29 +00:00
parent bd5c414618
commit 70e651a8d1
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;
m_pos = sitTargetPos + SIT_TARGET_ADJUSTMENT - part.GroupPosition;
Rotation = sitTargetOrient;
ParentPosition = part.AbsolutePosition;
}