mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-15 16:48:47 +02:00
Fix hasBlendedMeshes() value
This commit is contained in:
parent
bd1be872a8
commit
22e6ae9710
1 changed files with 3 additions and 1 deletions
|
@ -1571,7 +1571,9 @@ bool GLTFSerializer::buildGeometry(HFMModel& hfmModel, const hifi::VariantHash&
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create blendshapes.
|
// Create blendshapes.
|
||||||
mesh.blendshapes.resize((int)Blendshapes::BlendshapeCount);
|
if (!blendshapeIndices.isEmpty()) {
|
||||||
|
mesh.blendshapes.resize((int)Blendshapes::BlendshapeCount);
|
||||||
|
}
|
||||||
auto keys = blendshapeIndices.keys();
|
auto keys = blendshapeIndices.keys();
|
||||||
auto values = blendshapeIndices.values();
|
auto values = blendshapeIndices.values();
|
||||||
auto names = _file.meshes[node.mesh].extras.targetNames;
|
auto names = _file.meshes[node.mesh].extras.targetNames;
|
||||||
|
|
Loading…
Reference in a new issue