diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2016-10-21 09:50:13 -0400 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2016-10-21 09:50:13 -0400 |
commit | a2fd408c9bc8c7030910e8a2da8c39b596ae6b09 (patch) | |
tree | 5a315919b78b5e1352939770b99d80fe6c7fd15c /indra/llprimitive | |
parent | 45ab1429b2e6feae6ac8cd5ee59feacccd86f7b7 (diff) |
MAINT-6853 - fix for viewer crash when checking preview skin weights
Diffstat (limited to 'indra/llprimitive')
-rw-r--r-- | indra/llprimitive/lldaeloader.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llprimitive/lldaeloader.cpp b/indra/llprimitive/lldaeloader.cpp index c194d677c8..3e279924a8 100644 --- a/indra/llprimitive/lldaeloader.cpp +++ b/indra/llprimitive/lldaeloader.cpp @@ -1319,6 +1319,7 @@ void LLDAELoader::processDomModel(LLModel* model, DAE* dae, daeElement* root, do name = mJointMap[name]; } model->mSkinInfo.mJointNames.push_back(name); + model->mSkinInfo.mJointNums.push_back(-1); } } else @@ -1336,6 +1337,7 @@ void LLDAELoader::processDomModel(LLModel* model, DAE* dae, daeElement* root, do name = mJointMap[name]; } model->mSkinInfo.mJointNames.push_back(name); + model->mSkinInfo.mJointNums.push_back(-1); } } } |