coding style

This commit is contained in:
Seth Alves 2017-07-06 17:40:41 -07:00
parent 15d379cc5a
commit fc61fcf494

View file

@ -1022,11 +1022,11 @@ int Avatar::getJointIndex(const QString& name) const {
int result = getFauxJointIndex(name);
if (result != -1) {
return result;
}
if (_jointIndicesCache.contains(name)) {
} else if (_jointIndicesCache.contains(name)) {
return _jointIndicesCache[name];
} else {
return -1;
}
return -1;
};
QReadLocker readLock(&_jointIndicesCacheLock);
if (!_jointsCached) {