oopsy crazy

This commit is contained in:
Seth Alves 2017-07-06 16:33:37 -07:00
parent 62b7ba6446
commit 2e88eca2b9

View file

@ -1019,6 +1019,10 @@ void Avatar::cacheJoints() const {
int Avatar::getJointIndex(const QString& name) const {
auto getJointIndexWorker = [&]() {
int result = getFauxJointIndex(name);
if (result != -1) {
return result;
}
if (_jointIndicesCache.contains(name)) {
return _jointIndicesCache[name];
}