diff options
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 1fc4a81..d857a1c 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1939,7 +1939,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1939 | Quaternion nrot = avSitOrientation; | 1939 | Quaternion nrot = avSitOrientation; |
1940 | if (!part.IsRoot) | 1940 | if (!part.IsRoot) |
1941 | { | 1941 | { |
1942 | nrot = nrot * part.RotationOffset; | 1942 | nrot = part.RotationOffset * avSitOrientation; |
1943 | } | 1943 | } |
1944 | sitOrientation = nrot; // Change rotatione to the scripted one | 1944 | sitOrientation = nrot; // Change rotatione to the scripted one |
1945 | OffsetRotation = nrot; | 1945 | OffsetRotation = nrot; |