From f1795fd9b043fc32e87a5f611ba795122f3fbaef Mon Sep 17 00:00:00 2001 From: diva Date: Wed, 18 Feb 2009 21:28:54 +0000 Subject: Stops animations on Teleports, to conform with what the viewer does. --- OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs') diff --git a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs index 9060bf2..8271829 100644 --- a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs +++ b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs @@ -689,6 +689,9 @@ namespace OpenSim.Region.Framework.Scenes IEventQueue eq = avatar.Scene.RequestModuleInterface(); + // Reset animations; the viewer does that in teleports. + avatar.ResetAnimations(); + if (regionHandle == m_regionInfo.RegionHandle) { m_log.DebugFormat( -- cgit v1.1