mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 17:29:47 +02:00
Don't set joint "set" flags for animation values
This commit is contained in:
parent
ae8d0d1948
commit
c65e884151
1 changed files with 0 additions and 3 deletions
|
@ -320,12 +320,9 @@ bool RenderableModelEntityItem::getAnimationFrame() {
|
||||||
glm::mat4 finalMat = (translationMat * fbxJoints[index].preTransform *
|
glm::mat4 finalMat = (translationMat * fbxJoints[index].preTransform *
|
||||||
rotationMat * fbxJoints[index].postTransform);
|
rotationMat * fbxJoints[index].postTransform);
|
||||||
_localJointTranslations[j] = extractTranslation(finalMat);
|
_localJointTranslations[j] = extractTranslation(finalMat);
|
||||||
_localJointTranslationsSet[j] = true;
|
|
||||||
_localJointTranslationsDirty[j] = true;
|
_localJointTranslationsDirty[j] = true;
|
||||||
|
|
||||||
_localJointRotations[j] = glmExtractRotation(finalMat);
|
_localJointRotations[j] = glmExtractRotation(finalMat);
|
||||||
|
|
||||||
_localJointRotationsSet[j] = true;
|
|
||||||
_localJointRotationsDirty[j] = true;
|
_localJointRotationsDirty[j] = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue