mirror of
https://github.com/overte-org/overte.git
synced 2025-04-13 14:52:19 +02:00
Merge pull request #7977 from hyperlogic/bug-fix/avatar-lod
Bugfix for avatar LOD
This commit is contained in:
commit
3e79b67612
1 changed files with 3 additions and 0 deletions
|
@ -303,6 +303,9 @@ void Avatar::simulate(float deltaTime) {
|
|||
head->setScale(getUniformScale());
|
||||
head->simulate(deltaTime, false, !_shouldAnimate);
|
||||
}
|
||||
} else {
|
||||
// a non-full update is still required so that the position, rotation, scale and bounds of the skeletonModel are updated.
|
||||
_skeletonModel->simulate(deltaTime, false);
|
||||
}
|
||||
|
||||
// update animation for display name fade in/out
|
||||
|
|
Loading…
Reference in a new issue