diff options
author | Aura Linden <aura@lindenlab.com> | 2016-03-10 10:07:16 -0800 |
---|---|---|
committer | Aura Linden <aura@lindenlab.com> | 2016-03-10 10:07:16 -0800 |
commit | 28c6426afb399a028010e3d75a9f29a03f161bb5 (patch) | |
tree | 68de5461be3df4751e63a96349e8dd8869b7eb82 /indra/llcharacter/llbvhloader.cpp | |
parent | 9ca9a44acfc06de529489d76eea934ed6652fe81 (diff) |
Fix for SL-318 issue with 3-channel animations.
Diffstat (limited to 'indra/llcharacter/llbvhloader.cpp')
-rwxr-xr-x | indra/llcharacter/llbvhloader.cpp | 4 |
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 |