* Fixes linking using the new types.

quaternions are not communicative!
0.6.0-stable
Teravus Ovares 2008-09-07 13:24:23 +00:00
parent ec13642e1a
commit 3f55b03bbf
1 changed files with 1 additions and 1 deletions

View File

@ -1757,7 +1757,7 @@ namespace OpenSim.Region.Environment.Scenes
linkPart.OffsetPosition = axPos;
Quaternion oldRot = linkPart.RotationOffset;
Quaternion newRot = oldRot * Quaternion.Inverse(parentRot);
Quaternion newRot = Quaternion.Inverse(parentRot) * oldRot;
linkPart.RotationOffset = newRot;
linkPart.ParentID = m_rootPart.LocalId;