summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2016-10-21 09:50:13 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2016-10-21 09:50:13 -0400
commita2fd408c9bc8c7030910e8a2da8c39b596ae6b09 (patch)
tree5a315919b78b5e1352939770b99d80fe6c7fd15c /indra
parent45ab1429b2e6feae6ac8cd5ee59feacccd86f7b7 (diff)
MAINT-6853 - fix for viewer crash when checking preview skin weights
Diffstat (limited to 'indra')
-rw-r--r--indra/llprimitive/lldaeloader.cpp2
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);
}
}
}