Send the animations of all already present avatar to an avatar entering a sim

to stop the "folded legs" on simcross
0.6.5-rc1
Melanie Thielker 2009-05-01 16:47:53 +00:00
parent 55a69f3f2d
commit 13c597baba
1 changed files with 6 additions and 0 deletions

View File

@ -935,6 +935,12 @@ namespace OpenSim.Region.Framework.Scenes
m_isChildAgent = false;
List<ScenePresence> AnimAgents = m_scene.GetScenePresences();
foreach (ScenePresence p in AnimAgents)
{
if (p != this)
p.SendAnimPackToClient(ControllingClient);
}
m_scene.EventManager.TriggerOnMakeRootAgent(this);
}