diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 212720e..ba0ed95 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -781,6 +781,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
781 | ControllingClient.OnSetAlwaysRun += HandleSetAlwaysRun; | 781 | ControllingClient.OnSetAlwaysRun += HandleSetAlwaysRun; |
782 | ControllingClient.OnStartAnim += HandleStartAnim; | 782 | ControllingClient.OnStartAnim += HandleStartAnim; |
783 | ControllingClient.OnStopAnim += HandleStopAnim; | 783 | ControllingClient.OnStopAnim += HandleStopAnim; |
784 | ControllingClient.OnChangeAnim += avnHandleChangeAnim; | ||
784 | ControllingClient.OnForceReleaseControls += HandleForceReleaseControls; | 785 | ControllingClient.OnForceReleaseControls += HandleForceReleaseControls; |
785 | ControllingClient.OnAutoPilotGo += MoveToTarget; | 786 | ControllingClient.OnAutoPilotGo += MoveToTarget; |
786 | 787 | ||
@@ -2432,6 +2433,13 @@ namespace OpenSim.Region.Framework.Scenes | |||
2432 | Animator.RemoveAnimation(animID); | 2433 | Animator.RemoveAnimation(animID); |
2433 | } | 2434 | } |
2434 | 2435 | ||
2436 | public void avnHandleChangeAnim(UUID animID, bool addRemove,bool sendPack) | ||
2437 | { | ||
2438 | Animator.avnChangeAnim(animID, addRemove, sendPack); | ||
2439 | } | ||
2440 | |||
2441 | |||
2442 | |||
2435 | /// <summary> | 2443 | /// <summary> |
2436 | /// Rotate the avatar to the given rotation and apply a movement in the given relative vector | 2444 | /// Rotate the avatar to the given rotation and apply a movement in the given relative vector |
2437 | /// </summary> | 2445 | /// </summary> |