From b34d5716a81572deece442d2d59d6b809c96e27d Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Mon, 12 May 2008 09:07:07 +0000 Subject: Thanks Melanie for a patch to stop sending unnecessary animation updates (bug #1239). --- OpenSim/Region/Environment/Scenes/ScenePresence.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Environment/Scenes') diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 063e2c8..ef55bd2 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs @@ -1226,6 +1226,7 @@ namespace OpenSim.Region.Environment.Scenes { m_animations.Add(Animations.AnimsLLUUID["STAND"]); m_animationSeqs.Add(1); + SendAnimPack(); } else { @@ -1235,6 +1236,7 @@ namespace OpenSim.Region.Environment.Scenes { m_animations[0] = animID; m_animationSeqs[0] = m_controllingClient.NextAnimationSequenceNumber; + SendAnimPack(); } } catch @@ -1242,9 +1244,9 @@ namespace OpenSim.Region.Environment.Scenes m_log.Warn("[AVATAR]: SetMovementAnimation for avatar failed. Attempting recovery..."); m_animations[0] = animID; m_animationSeqs[0] = m_controllingClient.NextAnimationSequenceNumber; + SendAnimPack(); } } - SendAnimPack(); } /// -- cgit v1.1