mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 15:13:10 +02:00
Remove the pose bits, at least for now.
This commit is contained in:
parent
aa6eb7b3d8
commit
ad69a9547f
1 changed files with 0 additions and 17 deletions
|
@ -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>();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue