Remove the pose bits, at least for now.

This commit is contained in:
Andrzej Kapolka 2013-09-24 11:12:59 -07:00
parent aa6eb7b3d8
commit ad69a9547f

View file

@ -264,7 +264,6 @@ FBXGeometry extractFBXGeometry(const FBXNode& node) {
QHash<qint64, FBXMesh> meshMap;
qint64 blendshapeId = 0;
QHash<qint64, qint64> parentMap;
QHash<qint64, QVector<double> > poseMatrices;
foreach (const FBXNode& child, node.children) {
if (child.name == "Objects") {
@ -347,22 +346,6 @@ FBXGeometry extractFBXGeometry(const FBXNode& node) {
blendshapes.resize(qMax(blendshapes.size(), index + 1));
blendshapes[index] = blendshape;
}
} else if (object.name == "Pose") {
foreach (const FBXNode& subobject, object.children) {
if (subobject.name == "PoseNode") {
qint64 nodeId;
QVector<double> matrix;
foreach (const FBXNode& data, subobject.children) {
if (data.name == "Node") {
nodeId = data.properties.at(0).value<qint64>();
} else if (data.name == "Matrix") {
matrix = data.properties.at(0).value<QVector<double> >();
}
}
poseMatrices.insert(nodeId, matrix);
}
}
} else if (object.name == "Deformer" && object.properties.at(2) == "BlendShape") {
blendshapeId = object.properties.at(0).value<qint64>();
}