Fix conditional application

This commit is contained in:
David Rowe 2021-04-24 08:49:57 +12:00
parent f4af0be95b
commit e9fa76ae6e

View file

@ -1582,7 +1582,7 @@ bool GLTFSerializer::buildGeometry(HFMModel& hfmModel, const hifi::VariantHash&
&& fileTargetNames.contains("mouthLeft")
&& fileTargetNames.contains("viseme_O")
&& fileTargetNames.contains("mouthShrugLower");
if (fileTargetNames.count() == 0 && likelyReadyPlayerMeFile) {
if (blendshapeMappings.count() == 0 && likelyReadyPlayerMeFile) {
QMap<QString, QPair<QString, float>>::const_iterator synonym
= READYPLAYERME_BLENDSHAPES_MAP.constBegin();
while (synonym != READYPLAYERME_BLENDSHAPES_MAP.constEnd()) {