diff options
Stops animations on Teleports, to conform with what the viewer does.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index fc883db..62aae2c 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -2472,6 +2472,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
2472 | { | 2472 | { |
2473 | // Put the child agent back at the center | 2473 | // Put the child agent back at the center |
2474 | AbsolutePosition = new Vector3(128, 128, 70); | 2474 | AbsolutePosition = new Vector3(128, 128, 70); |
2475 | ResetAnimations(); | ||
2476 | } | ||
2477 | |||
2478 | public void ResetAnimations() | ||
2479 | { | ||
2475 | m_animations.Clear(); | 2480 | m_animations.Clear(); |
2476 | } | 2481 | } |
2477 | 2482 | ||