diff options
-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 36ba683..857f193 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -2751,7 +2751,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
2751 | axPos *= Quaternion.Inverse(axRot); | 2751 | axPos *= Quaternion.Inverse(axRot); |
2752 | prim.OffsetPosition = axPos; | 2752 | prim.OffsetPosition = axPos; |
2753 | Quaternion primsRot = prim.RotationOffset; | 2753 | Quaternion primsRot = prim.RotationOffset; |
2754 | Quaternion newRot = oldParentRot * primsRot; | 2754 | Quaternion newRot = primsRot * oldParentRot; |
2755 | newRot *= Quaternion.Inverse(axRot); | 2755 | newRot *= Quaternion.Inverse(axRot); |
2756 | prim.RotationOffset = newRot; | 2756 | prim.RotationOffset = newRot; |
2757 | prim.ScheduleTerseUpdate(); | 2757 | prim.ScheduleTerseUpdate(); |