mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 03:03:35 +02:00
Fix Interface not loading some baked models correctly
This commit is contained in:
parent
b711ee8b8a
commit
343b853b59
1 changed files with 1 additions and 1 deletions
|
@ -358,7 +358,7 @@ ExtractedMesh FBXSerializer::extractMesh(const FBXNode& object, unsigned int& me
|
||||||
std::vector<QString> dracoMaterialList;
|
std::vector<QString> dracoMaterialList;
|
||||||
for (const auto& dracoChild : child.children) {
|
for (const auto& dracoChild : child.children) {
|
||||||
if (dracoChild.name == "FBXDracoMeshVersion") {
|
if (dracoChild.name == "FBXDracoMeshVersion") {
|
||||||
if (!dracoChild.children.isEmpty()) {
|
if (!dracoChild.properties.isEmpty()) {
|
||||||
dracoMeshNodeVersion = dracoChild.properties[0].toUInt();
|
dracoMeshNodeVersion = dracoChild.properties[0].toUInt();
|
||||||
}
|
}
|
||||||
} else if (dracoChild.name == "MaterialList") {
|
} else if (dracoChild.name == "MaterialList") {
|
||||||
|
|
Loading…
Reference in a new issue