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 99ad685..1a8caae 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -789,6 +789,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
789 | ControllingClient.OnSetAlwaysRun += HandleSetAlwaysRun; | 789 | ControllingClient.OnSetAlwaysRun += HandleSetAlwaysRun; |
790 | ControllingClient.OnStartAnim += HandleStartAnim; | 790 | ControllingClient.OnStartAnim += HandleStartAnim; |
791 | ControllingClient.OnStopAnim += HandleStopAnim; | 791 | ControllingClient.OnStopAnim += HandleStopAnim; |
792 | ControllingClient.OnChangeAnim += avnHandleChangeAnim; | ||
792 | ControllingClient.OnForceReleaseControls += HandleForceReleaseControls; | 793 | ControllingClient.OnForceReleaseControls += HandleForceReleaseControls; |
793 | ControllingClient.OnAutoPilotGo += MoveToTarget; | 794 | ControllingClient.OnAutoPilotGo += MoveToTarget; |
794 | 795 | ||
@@ -2437,6 +2438,13 @@ namespace OpenSim.Region.Framework.Scenes | |||
2437 | Animator.RemoveAnimation(animID); | 2438 | Animator.RemoveAnimation(animID); |
2438 | } | 2439 | } |
2439 | 2440 | ||
2441 | public void avnHandleChangeAnim(UUID animID, bool addRemove,bool sendPack) | ||
2442 | { | ||
2443 | Animator.avnChangeAnim(animID, addRemove, sendPack); | ||
2444 | } | ||
2445 | |||
2446 | |||
2447 | |||
2440 | /// <summary> | 2448 | /// <summary> |
2441 | /// Rotate the avatar to the given rotation and apply a movement in the given relative vector | 2449 | /// Rotate the avatar to the given rotation and apply a movement in the given relative vector |
2442 | /// </summary> | 2450 | /// </summary> |