diff options
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 87cf135..fc8e0d7 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -2440,7 +2440,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
2440 | } | 2440 | } |
2441 | 2441 | ||
2442 | m_linkedPrim = part.UUID; | 2442 | m_linkedPrim = part.UUID; |
2443 | 2443 | if (part.GetAvatarOnSitTarget() != UUID) | |
2444 | { | ||
2445 | m_offsetRotation = m_offsetRotation / part.RotationOffset; | ||
2446 | } | ||
2444 | Velocity = Vector3.Zero; | 2447 | Velocity = Vector3.Zero; |
2445 | RemoveFromPhysicalScene(); | 2448 | RemoveFromPhysicalScene(); |
2446 | Animator.TrySetMovementAnimation(sitAnimation); | 2449 | Animator.TrySetMovementAnimation(sitAnimation); |