mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:24:00 +02:00
off-by-one
This commit is contained in:
parent
29baca20e3
commit
88c39f3237
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue