mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
Merge pull request #9559 from Atlante45/fix/animation-jitter
Fix animation jitter
This commit is contained in:
commit
87805fe4eb
1 changed files with 0 additions and 3 deletions
|
@ -320,12 +320,9 @@ bool RenderableModelEntityItem::getAnimationFrame() {
|
|||
glm::mat4 finalMat = (translationMat * fbxJoints[index].preTransform *
|
||||
rotationMat * fbxJoints[index].postTransform);
|
||||
_localJointTranslations[j] = extractTranslation(finalMat);
|
||||
_localJointTranslationsSet[j] = true;
|
||||
_localJointTranslationsDirty[j] = true;
|
||||
|
||||
_localJointRotations[j] = glmExtractRotation(finalMat);
|
||||
|
||||
_localJointRotationsSet[j] = true;
|
||||
_localJointRotationsDirty[j] = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue