diff options
author | Melanie Thielker | 2009-05-01 16:47:53 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-05-01 16:47:53 +0000 |
commit | 13c597baba5f5a968a0d47f11b33856b611da35b (patch) | |
tree | dc8b924f060762cf84e407246167ffbd8967b64b /OpenSim/Region/Framework | |
parent | Improve prim sending by combining multiple prim updates into a single packet (diff) | |
download | opensim-SC-13c597baba5f5a968a0d47f11b33856b611da35b.zip opensim-SC-13c597baba5f5a968a0d47f11b33856b611da35b.tar.gz opensim-SC-13c597baba5f5a968a0d47f11b33856b611da35b.tar.bz2 opensim-SC-13c597baba5f5a968a0d47f11b33856b611da35b.tar.xz |
Send the animations of all already present avatar to an avatar entering a sim
to stop the "folded legs" on simcross
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 6 |
1 files changed, 6 insertions, 0 deletions
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 | |||
935 | 935 | ||
936 | m_isChildAgent = false; | 936 | m_isChildAgent = false; |
937 | 937 | ||
938 | List<ScenePresence> AnimAgents = m_scene.GetScenePresences(); | ||
939 | foreach (ScenePresence p in AnimAgents) | ||
940 | { | ||
941 | if (p != this) | ||
942 | p.SendAnimPackToClient(ControllingClient); | ||
943 | } | ||
938 | m_scene.EventManager.TriggerOnMakeRootAgent(this); | 944 | m_scene.EventManager.TriggerOnMakeRootAgent(this); |
939 | 945 | ||
940 | } | 946 | } |