mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-16 13:20:02 +02:00
Fix another Interface issue loading baked models
This commit is contained in:
parent
343b853b59
commit
53f74abd49
1 changed files with 1 additions and 1 deletions
|
@ -492,7 +492,7 @@ ExtractedMesh FBXSerializer::extractMesh(const FBXNode& object, unsigned int& me
|
||||||
// Figure out what material this part is
|
// Figure out what material this part is
|
||||||
if (dracoMeshNodeVersion >= 2) {
|
if (dracoMeshNodeVersion >= 2) {
|
||||||
// Define the materialID now
|
// Define the materialID now
|
||||||
if (dracoMaterialList.size() - 1 <= materialID) {
|
if (materialID <= dracoMaterialList.size() - 1) {
|
||||||
part.materialID = dracoMaterialList[materialID];
|
part.materialID = dracoMaterialList[materialID];
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue