mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 06:57:37 +02:00
Merge pull request #4401 from ZappoMan/fbxFixes
more hacking on mixamo pipeline files
This commit is contained in:
commit
0586cced11
1 changed files with 1 additions and 2 deletions
|
@ -332,8 +332,7 @@ void ModelUploader::populateBasicMapping(QVariantHash& mapping, QString filename
|
||||||
// mixamo blendshapes - in the event that a mixamo file was edited by some other tool, it's likely the applicationName will
|
// mixamo blendshapes - in the event that a mixamo file was edited by some other tool, it's likely the applicationName will
|
||||||
// be rewritten, so we detect the existence of several different blendshapes which indicate we're likely a mixamo file
|
// be rewritten, so we detect the existence of several different blendshapes which indicate we're likely a mixamo file
|
||||||
bool likelyMixamoFile = geometry.applicationName == "mixamo.com" ||
|
bool likelyMixamoFile = geometry.applicationName == "mixamo.com" ||
|
||||||
(geometry.blendshapeChannelNames.contains("Facial_Blends") &&
|
(geometry.blendshapeChannelNames.contains("BrowsDown_Right") &&
|
||||||
geometry.blendshapeChannelNames.contains("BrowsDown_Right") &&
|
|
||||||
geometry.blendshapeChannelNames.contains("MouthOpen") &&
|
geometry.blendshapeChannelNames.contains("MouthOpen") &&
|
||||||
geometry.blendshapeChannelNames.contains("Blink_Left") &&
|
geometry.blendshapeChannelNames.contains("Blink_Left") &&
|
||||||
geometry.blendshapeChannelNames.contains("Blink_Right") &&
|
geometry.blendshapeChannelNames.contains("Blink_Right") &&
|
||||||
|
|
Loading…
Reference in a new issue