mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01: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;
|
||||
}
|
||||
}
|
||||
if (indexToDirect && data.normalIndices.isEmpty()) {
|
||||
if (indexToDirect && data.colorIndices.isEmpty()) {
|
||||
// hack to work around wacky Makehuman exports
|
||||
data.colorsByVertex = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue