aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index e8aa52e..b8ff7f7 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -2039,6 +2039,7 @@ namespace OpenSim.Region.Framework.Scenes
2039 } 2039 }
2040 2040
2041 Animator.TrySetMovementAnimation("STAND"); 2041 Animator.TrySetMovementAnimation("STAND");
2042 TriggerScenePresenceUpdated();
2042 } 2043 }
2043 2044
2044 private SceneObjectPart FindNextAvailableSitTarget(UUID targetID) 2045 private SceneObjectPart FindNextAvailableSitTarget(UUID targetID)
@@ -2432,6 +2433,7 @@ namespace OpenSim.Region.Framework.Scenes
2432 } 2433 }
2433 Animator.TrySetMovementAnimation(sitAnimation); 2434 Animator.TrySetMovementAnimation(sitAnimation);
2434 SendAvatarDataToAllAgents(); 2435 SendAvatarDataToAllAgents();
2436 TriggerScenePresenceUpdated();
2435 } 2437 }
2436 } 2438 }
2437 2439
@@ -2440,6 +2442,7 @@ namespace OpenSim.Region.Framework.Scenes
2440// m_updateCount = 0; // Kill animation update burst so that the SIT_G.. will stick.. 2442// m_updateCount = 0; // Kill animation update burst so that the SIT_G.. will stick..
2441 m_AngularVelocity = Vector3.Zero; 2443 m_AngularVelocity = Vector3.Zero;
2442 Animator.TrySetMovementAnimation("SIT_GROUND_CONSTRAINED"); 2444 Animator.TrySetMovementAnimation("SIT_GROUND_CONSTRAINED");
2445 TriggerScenePresenceUpdated();
2443 SitGround = true; 2446 SitGround = true;
2444 RemoveFromPhysicalScene(); 2447 RemoveFromPhysicalScene();
2445 } 2448 }
@@ -2456,11 +2459,13 @@ namespace OpenSim.Region.Framework.Scenes
2456 public void HandleStartAnim(IClientAPI remoteClient, UUID animID) 2459 public void HandleStartAnim(IClientAPI remoteClient, UUID animID)
2457 { 2460 {
2458 Animator.AddAnimation(animID, UUID.Zero); 2461 Animator.AddAnimation(animID, UUID.Zero);
2462 TriggerScenePresenceUpdated();
2459 } 2463 }
2460 2464
2461 public void HandleStopAnim(IClientAPI remoteClient, UUID animID) 2465 public void HandleStopAnim(IClientAPI remoteClient, UUID animID)
2462 { 2466 {
2463 Animator.RemoveAnimation(animID, false); 2467 Animator.RemoveAnimation(animID, false);
2468 TriggerScenePresenceUpdated();
2464 } 2469 }
2465 2470
2466 /// <summary> 2471 /// <summary>
@@ -3465,7 +3470,8 @@ namespace OpenSim.Region.Framework.Scenes
3465 3470
3466// if (m_updateCount > 0) 3471// if (m_updateCount > 0)
3467// { 3472// {
3468 Animator.UpdateMovementAnimations(); 3473 if (Animator.UpdateMovementAnimations())
3474 TriggerScenePresenceUpdated();
3469// m_updateCount--; 3475// m_updateCount--;
3470// } 3476// }
3471 3477