diff options
author | Justin Clark-Casey (justincc) | 2013-11-29 01:50:12 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-11-29 01:50:12 +0000 |
commit | f9193e3c51f0de6047906549640c59dc05b7e9d5 (patch) | |
tree | f21c457656fbfd38c7d082da597065a56e87e018 /OpenSim/Region/Framework/Scenes | |
parent | Fix stand positions rather than having the stand jump to the root prim. (diff) | |
download | opensim-SC_OLD-f9193e3c51f0de6047906549640c59dc05b7e9d5.zip opensim-SC_OLD-f9193e3c51f0de6047906549640c59dc05b7e9d5.tar.gz opensim-SC_OLD-f9193e3c51f0de6047906549640c59dc05b7e9d5.tar.bz2 opensim-SC_OLD-f9193e3c51f0de6047906549640c59dc05b7e9d5.tar.xz |
Restore SP.AbsolutePosition to properly return actual absolute position when sitting
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-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 f9b598f..a52263b 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -516,7 +516,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
516 | SceneObjectPart sitPart = ParentPart; | 516 | SceneObjectPart sitPart = ParentPart; |
517 | 517 | ||
518 | if (sitPart != null) | 518 | if (sitPart != null) |
519 | return sitPart.AbsolutePosition; | 519 | return sitPart.AbsolutePosition + (m_pos * sitPart.GetWorldRotation()); |
520 | } | 520 | } |
521 | 521 | ||
522 | return m_pos; | 522 | return m_pos; |