mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 02:03:57 +02:00
coding style
This commit is contained in:
parent
15d379cc5a
commit
fc61fcf494
1 changed files with 3 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue