Don't set joint "set" flags for animation values

This commit is contained in:
Atlante45 2017-01-30 16:04:54 -08:00
parent ae8d0d1948
commit c65e884151

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