From 28c6426afb399a028010e3d75a9f29a03f161bb5 Mon Sep 17 00:00:00 2001
From: Aura Linden <aura@lindenlab.com>
Date: Thu, 10 Mar 2016 10:07:16 -0800
Subject: [PATCH] Fix for SL-318 issue with 3-channel animations.

---
 indra/llcharacter/llbvhloader.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/indra/llcharacter/llbvhloader.cpp b/indra/llcharacter/llbvhloader.cpp
index a6ab801cefd..e906d81ce15 100755
--- a/indra/llcharacter/llbvhloader.cpp
+++ b/indra/llcharacter/llbvhloader.cpp
@@ -976,6 +976,10 @@ void LLBVHLoader::applyTranslations()
 
         //Allow joint position changes as of SL-318
         joint->mIgnorePositions = FALSE;
+        if (joint->mNumChannels == 3)
+        {
+            joint->mIgnorePositions = TRUE;
+        }
 
 		//----------------------------------------------------------------
 		// Set the relativepos flags if necessary
-- 
GitLab