mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
update model transform even when out of view
This commit is contained in:
parent
d25c0ace44
commit
b8a3c856be
1 changed files with 1 additions and 1 deletions
|
@ -240,8 +240,8 @@ void SkeletonModel::updateAttitude() {
|
|||
// Called by Avatar::simulate after it has set the joint states (fullUpdate true if changed),
|
||||
// but just before head has been simulated.
|
||||
void SkeletonModel::simulate(float deltaTime, bool fullUpdate) {
|
||||
updateAttitude();
|
||||
if (fullUpdate) {
|
||||
updateAttitude();
|
||||
setBlendshapeCoefficients(_owningAvatar->getHead()->getBlendshapeCoefficients());
|
||||
|
||||
Model::simulate(deltaTime, fullUpdate);
|
||||
|
|
Loading…
Reference in a new issue