diff options
author | Oz Linden <oz@lindenlab.com> | 2015-09-29 15:24:03 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2015-09-29 15:24:03 -0400 |
commit | 9757c3a7fa1c67ecbf62df4493dc68040ba0e264 (patch) | |
tree | 1d3ec613c44b1c91b2ee91546be7be0de9c72f6e /indra/newview/lldrawpoolavatar.cpp | |
parent | 453dee2d21477ad534fa9982b844c40adde9b93e (diff) | |
parent | 2d52b62e67cf46222396c724d00d2de874819197 (diff) |
merge changes for 3.8.4-release
Diffstat (limited to 'indra/newview/lldrawpoolavatar.cpp')
-rwxr-xr-x | indra/newview/lldrawpoolavatar.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/lldrawpoolavatar.cpp b/indra/newview/lldrawpoolavatar.cpp index 42a23faa49..34d2fdd782 100755 --- a/indra/newview/lldrawpoolavatar.cpp +++ b/indra/newview/lldrawpoolavatar.cpp @@ -1593,6 +1593,14 @@ void LLDrawPoolAvatar::updateRiggedFaceVertexBuffer(LLVOAvatar* avatar, LLFace* for (U32 j = 0; j < count; ++j) { LLJoint* joint = avatar->getJoint(skin->mJointNames[j]); + if (!joint) + { + joint = avatar->getJoint("mPelvis"); + } + if (!joint) + { + LL_DEBUGS("Avatar") << "Failed to find " << skin->mJointNames[j] << LL_ENDL; + } if (joint) { mat[j] = skin->mInvBindMatrix[j]; |