off-by-one

This commit is contained in:
Seth Alves 2017-07-07 09:15:42 -07:00
parent 29baca20e3
commit 88c39f3237

View file

@ -1041,7 +1041,7 @@ int Avatar::getJointIndex(const QString& name) const {
withValidJointIndicesCache([&]() {
if (_jointIndicesCache.contains(name)) {
result = _jointIndicesCache[name];
result = _jointIndicesCache[name] - 1;
}
});
return result;