aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index e0dfb34..6e41774 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -2342,7 +2342,7 @@ namespace OpenSim.Region.Framework.Scenes
2342 2342
2343 ParentPart = m_scene.GetSceneObjectPart(m_requestedSitTargetID); 2343 ParentPart = m_scene.GetSceneObjectPart(m_requestedSitTargetID);
2344 ParentID = m_requestedSitTargetID; 2344 ParentID = m_requestedSitTargetID;
2345 2345 m_AngularVelocity = Vector3.Zero;
2346 Velocity = Vector3.Zero; 2346 Velocity = Vector3.Zero;
2347 RemoveFromPhysicalScene(); 2347 RemoveFromPhysicalScene();
2348 2348
@@ -2358,7 +2358,8 @@ namespace OpenSim.Region.Framework.Scenes
2358 2358
2359 public void HandleAgentSitOnGround() 2359 public void HandleAgentSitOnGround()
2360 { 2360 {
2361// m_updateCount = 0; // Kill animation update burst so that the SIT_G.. will stick. 2361// m_updateCount = 0; // Kill animation update burst so that the SIT_G.. will stick..
2362 m_AngularVelocity = Vector3.Zero;
2362 Animator.TrySetMovementAnimation("SIT_GROUND_CONSTRAINED"); 2363 Animator.TrySetMovementAnimation("SIT_GROUND_CONSTRAINED");
2363 SitGround = true; 2364 SitGround = true;
2364 RemoveFromPhysicalScene(); 2365 RemoveFromPhysicalScene();