aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorubit2012-08-01 15:10:32 +0200
committerubit2012-08-01 15:10:32 +0200
commit44255fdde2b797d00d5a526e24e17e8ba885acbe (patch)
tree435429dd852668eb5e1dbd7a69f18a00398cffa0 /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentMerge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork (diff)
parentMerge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork (diff)
downloadopensim-SC-44255fdde2b797d00d5a526e24e17e8ba885acbe.zip
opensim-SC-44255fdde2b797d00d5a526e24e17e8ba885acbe.tar.gz
opensim-SC-44255fdde2b797d00d5a526e24e17e8ba885acbe.tar.bz2
opensim-SC-44255fdde2b797d00d5a526e24e17e8ba885acbe.tar.xz
Merge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 89df0ce..cdabd45 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -1952,7 +1952,9 @@ namespace OpenSim.Region.Framework.Scenes
1952 1952
1953// m_pos += ParentPosition + new Vector3(0.0f, 0.0f, 2.0f * m_sitAvatarHeight); 1953// m_pos += ParentPosition + new Vector3(0.0f, 0.0f, 2.0f * m_sitAvatarHeight);
1954// ParentPosition = Vector3.Zero; 1954// ParentPosition = Vector3.Zero;
1955 m_pos += part.GetWorldPosition() + new Vector3(0.0f, 0.0f, 2.0f * m_sitAvatarHeight); 1955 m_pos = part.AbsolutePosition + (m_pos * part.GetWorldRotation()) + new Vector3(0.0f, 0.0f, 2.0f * m_sitAvatarHeight);
1956 if (part.SitTargetAvatar == UUID)
1957 m_bodyRot = part.GetWorldRotation() * part.SitTargetOrientation;
1956 1958
1957 ParentID = 0; 1959 ParentID = 0;
1958 ParentPart = null; 1960 ParentPart = null;