mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 06:17:28 +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);
|
int result = getFauxJointIndex(name);
|
||||||
if (result != -1) {
|
if (result != -1) {
|
||||||
return result;
|
return result;
|
||||||
}
|
} else if (_jointIndicesCache.contains(name)) {
|
||||||
if (_jointIndicesCache.contains(name)) {
|
|
||||||
return _jointIndicesCache[name];
|
return _jointIndicesCache[name];
|
||||||
|
} else {
|
||||||
|
return -1;
|
||||||
}
|
}
|
||||||
return -1;
|
|
||||||
};
|
};
|
||||||
QReadLocker readLock(&_jointIndicesCacheLock);
|
QReadLocker readLock(&_jointIndicesCacheLock);
|
||||||
if (!_jointsCached) {
|
if (!_jointsCached) {
|
||||||
|
|
Loading…
Reference in a new issue