hfm blendshape name

This commit is contained in:
raveenajain 2019-04-26 01:37:26 +01:00
parent 66ad6451f9
commit 0be36783bf

View file

@ -1200,7 +1200,7 @@ bool GLTFSerializer::buildGeometry(HFMModel& hfmModel, const hifi::VariantHash&
float weight = 0.1f;
int indexFromMapping = weightedIndex;
int targetIndex = weightedIndex;
hfmModel.blendshapeChannelNames.push_back("target_" + weightedIndex);
hfmModel.blendshapeChannelNames.push_back("target_" + QString::number(weightedIndex));
if (!names.isEmpty()) {
targetIndex = names.indexOf(keys[weightedIndex]);