diff options
author | Melanie | 2013-02-04 19:21:39 +0000 |
---|---|---|
committer | Melanie | 2013-02-04 19:21:39 +0000 |
commit | 7482ad1c22e44e03c1a36f1d67d862084c20dae6 (patch) | |
tree | 9450dd7cbe79e1d34b6d0519d994b1fd16a253ed /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC-7482ad1c22e44e03c1a36f1d67d862084c20dae6.zip opensim-SC-7482ad1c22e44e03c1a36f1d67d862084c20dae6.tar.gz opensim-SC-7482ad1c22e44e03c1a36f1d67d862084c20dae6.tar.bz2 opensim-SC-7482ad1c22e44e03c1a36f1d67d862084c20dae6.tar.xz |
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-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(); |