mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 07:57:30 +02:00
Merge pull request #9790 from AndrewMeadows/fix-avatar-transform
fix bug drawing avatar above ground
This commit is contained in:
commit
96bb01e5f9
1 changed files with 1 additions and 3 deletions
|
@ -179,9 +179,7 @@ void SkeletonModel::updateRig(float deltaTime, glm::mat4 parentTransform) {
|
||||||
|
|
||||||
_rig->updateFromEyeParameters(eyeParams);
|
_rig->updateFromEyeParameters(eyeParams);
|
||||||
} else {
|
} else {
|
||||||
// no need to call Model::updateRig() because otherAvatars get their joint state
|
Model::updateRig(deltaTime, parentTransform);
|
||||||
// copied directly from AvtarData::_jointData (there are no Rig animations to blend)
|
|
||||||
_needsUpdateClusterMatrices = true;
|
|
||||||
|
|
||||||
// This is a little more work than we really want.
|
// This is a little more work than we really want.
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue