diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 6005f07..c352465 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -2517,7 +2517,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2517 | 2517 | ||
2518 | ParentPart = m_scene.GetSceneObjectPart(m_requestedSitTargetID); | 2518 | ParentPart = m_scene.GetSceneObjectPart(m_requestedSitTargetID); |
2519 | ParentID = m_requestedSitTargetID; | 2519 | ParentID = m_requestedSitTargetID; |
2520 | 2520 | m_AngularVelocity = Vector3.Zero; | |
2521 | Velocity = Vector3.Zero; | 2521 | Velocity = Vector3.Zero; |
2522 | RemoveFromPhysicalScene(); | 2522 | RemoveFromPhysicalScene(); |
2523 | 2523 | ||
@@ -2533,7 +2533,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
2533 | 2533 | ||
2534 | public void HandleAgentSitOnGround() | 2534 | public void HandleAgentSitOnGround() |
2535 | { | 2535 | { |
2536 | // m_updateCount = 0; // Kill animation update burst so that the SIT_G.. will stick. | 2536 | // m_updateCount = 0; // Kill animation update burst so that the SIT_G.. will stick.. |
2537 | m_AngularVelocity = Vector3.Zero; | ||
2537 | Animator.TrySetMovementAnimation("SIT_GROUND_CONSTRAINED"); | 2538 | Animator.TrySetMovementAnimation("SIT_GROUND_CONSTRAINED"); |
2538 | SitGround = true; | 2539 | SitGround = true; |
2539 | RemoveFromPhysicalScene(); | 2540 | RemoveFromPhysicalScene(); |