mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 01:24:03 +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.
|
||||
mesh.blendshapes.resize((int)Blendshapes::BlendshapeCount);
|
||||
if (!blendshapeIndices.isEmpty()) {
|
||||
mesh.blendshapes.resize((int)Blendshapes::BlendshapeCount);
|
||||
}
|
||||
auto keys = blendshapeIndices.keys();
|
||||
auto values = blendshapeIndices.values();
|
||||
auto names = _file.meshes[node.mesh].extras.targetNames;
|
||||
|
|
Loading…
Reference in a new issue