undo temporary hack

This commit is contained in:
Seth Alves 2015-12-30 12:45:19 -08:00
parent 175506bbf1
commit 4e312dd8f8

View file

@ -299,10 +299,7 @@ bool RenderableModelEntityItem::getAnimationFrame() {
_absoluteJointTranslationsInObjectFrameSet[j] = true;
_absoluteJointTranslationsInObjectFrameDirty[j] = true;
// XXX Tony will fix this better in some other PR
// _absoluteJointRotationsInObjectFrame[j] = glmExtractRotation(finalMat);
_absoluteJointRotationsInObjectFrame[j] = fbxJoints[index].preRotation * rotation;
// XXX
_absoluteJointRotationsInObjectFrame[j] = glmExtractRotation(finalMat);
_absoluteJointRotationsInObjectFrameSet[j] = true;
_absoluteJointRotationsInObjectFrameDirty[j] = true;