From 13c597baba5f5a968a0d47f11b33856b611da35b Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Fri, 1 May 2009 16:47:53 +0000 Subject: Send the animations of all already present avatar to an avatar entering a sim to stop the "folded legs" on simcross --- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index a352eac..72c6630 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -935,6 +935,12 @@ namespace OpenSim.Region.Framework.Scenes m_isChildAgent = false; + List AnimAgents = m_scene.GetScenePresences(); + foreach (ScenePresence p in AnimAgents) + { + if (p != this) + p.SendAnimPackToClient(ControllingClient); + } m_scene.EventManager.TriggerOnMakeRootAgent(this); } -- cgit v1.1