Trying out a transform tweak.

This commit is contained in:
Andrzej Kapolka 2014-01-31 19:00:24 -08:00
parent ea4524bcf0
commit e1350f8e24

View file

@ -1321,7 +1321,7 @@ FBXGeometry extractFBXGeometry(const FBXNode& node, const QVariantHash& mapping)
qDebug() << "Joint not in model list: " << jointID;
fbxCluster.jointIndex = 0;
}
fbxCluster.inverseBindMatrix = glm::inverse(cluster.transformLink) * modelTransform;
fbxCluster.inverseBindMatrix = glm::inverse(cluster.transformLink);
extracted.mesh.clusters.append(fbxCluster);
// override the bind rotation with the transform link