summaryrefslogtreecommitdiff
path: root/indra/llcharacter
diff options
context:
space:
mode:
authorAura Linden <aura@lindenlab.com>2016-03-10 10:07:16 -0800
committerAura Linden <aura@lindenlab.com>2016-03-10 10:07:16 -0800
commit28c6426afb399a028010e3d75a9f29a03f161bb5 (patch)
tree68de5461be3df4751e63a96349e8dd8869b7eb82 /indra/llcharacter
parent9ca9a44acfc06de529489d76eea934ed6652fe81 (diff)
Fix for SL-318 issue with 3-channel animations.
Diffstat (limited to 'indra/llcharacter')
-rwxr-xr-xindra/llcharacter/llbvhloader.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llcharacter/llbvhloader.cpp b/indra/llcharacter/llbvhloader.cpp
index a6ab801cef..e906d81ce1 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