From 8f30d5f20413eac9356a84647dfb051cc02e3ba3 Mon Sep 17 00:00:00 2001
From: Sergei Litovchuk <slitovchuk@productengine.com>
Date: Wed, 30 Dec 2009 14:38:22 +0200
Subject: [PATCH] EXT-2781. Added reference to issue in comments.

--HG--
branch : product-engine
---
 indra/newview/llagent.cpp         | 1 +
 indra/newview/llviewermessage.cpp | 1 +
 2 files changed, 2 insertions(+)

diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp
index 79b0527a746..d2a56f65dd7 100644
--- a/indra/newview/llagent.cpp
+++ b/indra/newview/llagent.cpp
@@ -751,6 +751,7 @@ void LLAgent::setFlying(BOOL fly)
 		// because in this case we won't get a signal to start avatar flying animation and
 		// it will be walking with flying mode "ON" indication. However we allow to switch
 		// the flying mode off if we get ANIM_AGENT_STANDUP signal. See process_avatar_animation().
+		// See EXT-2781.
 		if(fly && mAvatarObject->mSignaledAnimations.find(ANIM_AGENT_STANDUP) != mAvatarObject->mSignaledAnimations.end())
 		{
 			return;
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index f9f778449bf..ed138f24ca6 100644
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -3947,6 +3947,7 @@ void process_avatar_animation(LLMessageSystem *mesgsys, void **user_data)
 			// flying animation from server, the AGENT_CONTROL_FLY flag remains set but the
 			// avatar does not play flying animation, so we switch flying mode off.
 			// See LLAgent::setFlying(). This may cause "Stop Flying" button to blink.
+			// See EXT-2781.
 			if (animation_id == ANIM_AGENT_STANDUP && gAgent.getFlying())
 			{
 				gAgent.setFlying(FALSE);
-- 
GitLab