Stops animations on Teleports, to conform with what the viewer does.

This commit is contained in:
diva
2009-02-18 21:28:54 +00:00
parent 89f2589f6c
commit f1795fd9b0
3 changed files with 11 additions and 0 deletions

View File

@@ -2472,6 +2472,11 @@ namespace OpenSim.Region.Framework.Scenes
{
// Put the child agent back at the center
AbsolutePosition = new Vector3(128, 128, 70);
ResetAnimations();
}
public void ResetAnimations()
{
m_animations.Clear();
}