aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-09-07 13:24:23 +0000
committerTeravus Ovares2008-09-07 13:24:23 +0000
commit3f55b03bbfcd751c0a38a19b1634814671662986 (patch)
tree17970422200afed301227ef09b31d66730825d21 /OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
parentConvert TestStringsWithEscapedQuotesAndComments to use concatenated expected ... (diff)
downloadopensim-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.cs2
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;