diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2020-04-23 19:34:14 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2020-04-23 20:51:06 +0300 |
commit | 9221c8a3f65aa14cad4fec03b7033ad800f6ba35 (patch) | |
tree | c311b839138c1e1ef2d5258bffc189072a58e417 /indra/llprimitive/lldaeloader.cpp | |
parent | c54e0e4f12dedff2d64354215fd7bcb68b09c7fd (diff) |
SL-13080 Changes for joint listings in mesh uploader
Diffstat (limited to 'indra/llprimitive/lldaeloader.cpp')
-rw-r--r-- | indra/llprimitive/lldaeloader.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llprimitive/lldaeloader.cpp b/indra/llprimitive/lldaeloader.cpp index 139f48fef8..431443788c 100644 --- a/indra/llprimitive/lldaeloader.cpp +++ b/indra/llprimitive/lldaeloader.cpp @@ -1470,6 +1470,12 @@ void LLDAELoader::processDomModel(LLModel* model, DAE* dae, daeElement* root, do } } + U32 bind_count = model->mSkinInfo.mAlternateBindMatrix.size(); + if (bind_count > 0 && bind_count != jointCnt) + { + LL_WARNS("Mesh") << "Model " << model->mLabel << " has invalid joint bind matrix list." << LL_ENDL; + } + //grab raw position array domVertices* verts = mesh->getVertices(); |