mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 18:25:52 +02:00
hfm blendshape name
This commit is contained in:
parent
66ad6451f9
commit
0be36783bf
1 changed files with 1 additions and 1 deletions
|
@ -1200,7 +1200,7 @@ bool GLTFSerializer::buildGeometry(HFMModel& hfmModel, const hifi::VariantHash&
|
||||||
float weight = 0.1f;
|
float weight = 0.1f;
|
||||||
int indexFromMapping = weightedIndex;
|
int indexFromMapping = weightedIndex;
|
||||||
int targetIndex = weightedIndex;
|
int targetIndex = weightedIndex;
|
||||||
hfmModel.blendshapeChannelNames.push_back("target_" + weightedIndex);
|
hfmModel.blendshapeChannelNames.push_back("target_" + QString::number(weightedIndex));
|
||||||
|
|
||||||
if (!names.isEmpty()) {
|
if (!names.isEmpty()) {
|
||||||
targetIndex = names.indexOf(keys[weightedIndex]);
|
targetIndex = names.indexOf(keys[weightedIndex]);
|
||||||
|
|
Loading…
Reference in a new issue