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. --- .../Region/Framework/Scenes/Hypergrid/HGSceneCommunicationService.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim/Region/Framework/Scenes/Hypergrid') diff --git a/OpenSim/Region/Framework/Scenes/Hypergrid/HGSceneCommunicationService.cs b/OpenSim/Region/Framework/Scenes/Hypergrid/HGSceneCommunicationService.cs index f75ea8e..0faeef1 100644 --- a/OpenSim/Region/Framework/Scenes/Hypergrid/HGSceneCommunicationService.cs +++ b/OpenSim/Region/Framework/Scenes/Hypergrid/HGSceneCommunicationService.cs @@ -71,6 +71,9 @@ namespace OpenSim.Region.Framework.Scenes.Hypergrid IEventQueue eq = avatar.Scene.RequestModuleInterface(); + // Reset animations; the viewer does that in teleports. + avatar.ResetAnimations(); + if (regionHandle == m_regionInfo.RegionHandle) { // Teleport within the same region -- cgit v1.1