diff options
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 6e613a7..fdc1f32 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -2866,7 +2866,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
2866 | return; | 2866 | return; |
2867 | } | 2867 | } |
2868 | 2868 | ||
2869 | |||
2870 | if (part.SitTargetAvatar == UUID) | 2869 | if (part.SitTargetAvatar == UUID) |
2871 | { | 2870 | { |
2872 | Vector3 sitTargetPos = part.SitTargetPosition; | 2871 | Vector3 sitTargetPos = part.SitTargetPosition; |
@@ -2935,7 +2934,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2935 | // Name, part.AbsolutePosition, m_pos, ParentPosition, part.Name, part.LocalId); | 2934 | // Name, part.AbsolutePosition, m_pos, ParentPosition, part.Name, part.LocalId); |
2936 | } | 2935 | } |
2937 | 2936 | ||
2938 | ParentPart = m_scene.GetSceneObjectPart(m_requestedSitTargetID); | 2937 | ParentPart = part; |
2939 | ParentID = m_requestedSitTargetID; | 2938 | ParentID = m_requestedSitTargetID; |
2940 | m_AngularVelocity = Vector3.Zero; | 2939 | m_AngularVelocity = Vector3.Zero; |
2941 | Velocity = Vector3.Zero; | 2940 | Velocity = Vector3.Zero; |