diff options
author | Teravus Ovares | 2008-09-07 13:24:23 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-09-07 13:24:23 +0000 |
commit | 3f55b03bbfcd751c0a38a19b1634814671662986 (patch) | |
tree | 17970422200afed301227ef09b31d66730825d21 /OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |
parent | Convert TestStringsWithEscapedQuotesAndComments to use concatenated expected ... (diff) | |
download | opensim-SC-3f55b03bbfcd751c0a38a19b1634814671662986.zip opensim-SC-3f55b03bbfcd751c0a38a19b1634814671662986.tar.gz opensim-SC-3f55b03bbfcd751c0a38a19b1634814671662986.tar.bz2 opensim-SC-3f55b03bbfcd751c0a38a19b1634814671662986.tar.xz |
* Fixes linking using the new types.
quaternions are not communicative!
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index ffbef8a..80db10d 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -1757,7 +1757,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1757 | 1757 | ||
1758 | linkPart.OffsetPosition = axPos; | 1758 | linkPart.OffsetPosition = axPos; |
1759 | Quaternion oldRot = linkPart.RotationOffset; | 1759 | Quaternion oldRot = linkPart.RotationOffset; |
1760 | Quaternion newRot = oldRot * Quaternion.Inverse(parentRot); | 1760 | Quaternion newRot = Quaternion.Inverse(parentRot) * oldRot; |
1761 | linkPart.RotationOffset = newRot; | 1761 | linkPart.RotationOffset = newRot; |
1762 | 1762 | ||
1763 | linkPart.ParentID = m_rootPart.LocalId; | 1763 | linkPart.ParentID = m_rootPart.LocalId; |