Merge pull request #9559 from Atlante45/fix/animation-jitter

Fix animation jitter
This commit is contained in:
Brad Hefta-Gaub 2017-01-30 20:27:21 -08:00 committed by GitHub
commit 87805fe4eb

View file

@ -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;
}
}