mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
* Fixes linking using the new types.
quaternions are not communicative!
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user