mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 15:23:56 +02:00
minor cleanup
This commit is contained in:
parent
0657ca1e5e
commit
14e7392a89
1 changed files with 1 additions and 2 deletions
|
@ -351,7 +351,6 @@ void Avatar::simulate(float deltaTime, bool inView) {
|
|||
_jointDataSimulationRate.increment();
|
||||
|
||||
_skeletonModel->simulate(deltaTime, true);
|
||||
_skeletonModelSimulationRate.increment();
|
||||
|
||||
locationChanged(); // joints changed, so if there are any children, update them.
|
||||
_hasNewJointData = false;
|
||||
|
@ -367,8 +366,8 @@ void Avatar::simulate(float deltaTime, bool inView) {
|
|||
} 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);
|
||||
_skeletonModelSimulationRate.increment();
|
||||
}
|
||||
_skeletonModelSimulationRate.increment();
|
||||
}
|
||||
|
||||
// update animation for display name fade in/out
|
||||
|
|
Loading…
Reference in a new issue