diff options
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; |