mirror of
https://github.com/overte-org/overte.git
synced 2025-08-12 10:34:16 +02:00
oopsy crazy
This commit is contained in:
parent
62b7ba6446
commit
2e88eca2b9
1 changed files with 4 additions and 0 deletions
|
@ -1019,6 +1019,10 @@ void Avatar::cacheJoints() const {
|
|||
|
||||
int Avatar::getJointIndex(const QString& name) const {
|
||||
auto getJointIndexWorker = [&]() {
|
||||
int result = getFauxJointIndex(name);
|
||||
if (result != -1) {
|
||||
return result;
|
||||
}
|
||||
if (_jointIndicesCache.contains(name)) {
|
||||
return _jointIndicesCache[name];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue