mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 12:28:02 +02:00
parent
71eb24386b
commit
031d144c04
1 changed files with 1 additions and 2 deletions
|
@ -351,7 +351,6 @@ void Avatar::simulate(float deltaTime, bool inView) {
|
||||||
_jointDataSimulationRate.increment();
|
_jointDataSimulationRate.increment();
|
||||||
|
|
||||||
_skeletonModel->simulate(deltaTime, true);
|
_skeletonModel->simulate(deltaTime, true);
|
||||||
_skeletonModelSimulationRate.increment();
|
|
||||||
|
|
||||||
locationChanged(); // joints changed, so if there are any children, update them.
|
locationChanged(); // joints changed, so if there are any children, update them.
|
||||||
_hasNewJointData = false;
|
_hasNewJointData = false;
|
||||||
|
@ -367,8 +366,8 @@ void Avatar::simulate(float deltaTime, bool inView) {
|
||||||
} else {
|
} else {
|
||||||
// a non-full update is still required so that the position, rotation, scale and bounds of the skeletonModel are updated.
|
// a non-full update is still required so that the position, rotation, scale and bounds of the skeletonModel are updated.
|
||||||
_skeletonModel->simulate(deltaTime, false);
|
_skeletonModel->simulate(deltaTime, false);
|
||||||
_skeletonModelSimulationRate.increment();
|
|
||||||
}
|
}
|
||||||
|
_skeletonModelSimulationRate.increment();
|
||||||
}
|
}
|
||||||
|
|
||||||
// update animation for display name fade in/out
|
// update animation for display name fade in/out
|
||||||
|
|
Loading…
Reference in a new issue