aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authordiva2009-02-18 21:28:54 +0000
committerdiva2009-02-18 21:28:54 +0000
commitf1795fd9b043fc32e87a5f611ba795122f3fbaef (patch)
treecbac393cf2bd696c2e97d1e641010ca7a38c96c3 /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parent* Change AssetGatherer method access so that only methods which are worth cal... (diff)
downloadopensim-SC-f1795fd9b043fc32e87a5f611ba795122f3fbaef.zip
opensim-SC-f1795fd9b043fc32e87a5f611ba795122f3fbaef.tar.gz
opensim-SC-f1795fd9b043fc32e87a5f611ba795122f3fbaef.tar.bz2
opensim-SC-f1795fd9b043fc32e87a5f611ba795122f3fbaef.tar.xz
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.cs5
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