mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 02:53:10 +02:00
Merge pull request #12872 from huffman/fix/vertex-colors-fbx
Fix FBX vertex colors not being read correctly
This commit is contained in:
commit
83d370f1af
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ ExtractedMesh FBXReader::extractMesh(const FBXNode& object, unsigned int& meshIn
|
||||||
indexToDirect = true;
|
indexToDirect = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (indexToDirect && data.normalIndices.isEmpty()) {
|
if (indexToDirect && data.colorIndices.isEmpty()) {
|
||||||
// hack to work around wacky Makehuman exports
|
// hack to work around wacky Makehuman exports
|
||||||
data.colorsByVertex = true;
|
data.colorsByVertex = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue