aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorTom2010-08-03 19:51:32 -0700
committerTom2010-08-03 19:51:32 -0700
commitf1c51c8bb4c634cedf9eb57a1bb339d3e8052b10 (patch)
treead99dfe5eb21ef92c507f033bdf3b5dcaa2aae2b /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentAllow specifying default region flags. Correct a typo. (diff)
downloadopensim-SC-f1c51c8bb4c634cedf9eb57a1bb339d3e8052b10.zip
opensim-SC-f1c51c8bb4c634cedf9eb57a1bb339d3e8052b10.tar.gz
opensim-SC-f1c51c8bb4c634cedf9eb57a1bb339d3e8052b10.tar.bz2
opensim-SC-f1c51c8bb4c634cedf9eb57a1bb339d3e8052b10.tar.xz
Scripted sit target fixes
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs2
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;