diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2016-03-30 08:41:55 -0400 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2016-03-30 08:41:55 -0400 |
commit | 8365f3b2a088508136bb04295c187953d7e9ed97 (patch) | |
tree | af59190dc48b753a641789c6b694d2754caf520e /indra | |
parent | 8fecfc0c99bcbeebc9b8ffc39c38907e9d6423ce (diff) |
SL-352 - longstanding issue with remapSkinWeights(), only manifests with some content.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llskinningutil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llskinningutil.cpp b/indra/newview/llskinningutil.cpp index 8beb485a0f..fbe45c8ea6 100644 --- a/indra/newview/llskinningutil.cpp +++ b/indra/newview/llskinningutil.cpp @@ -264,7 +264,7 @@ void LLSkinningUtil::remapSkinWeights(LLVector4a* weights, U32 num_vertices, con { llassert(skin->mJointRemap.size()>0); // Must call remapSkinInfoJoints() first, which this checks for. const U32* remap = &skin->mJointRemap[0]; - const S32 max_joints = skin->mJointNames.size(); + const S32 max_joints = skin->mJointRemap.size(); for (U32 j=0; j<num_vertices; j++) { F32 *w = weights[j].getF32ptr(); |