mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 04:03:59 +02:00
I forgot that the children are in reverse order.
This commit is contained in:
parent
84803854bf
commit
b04ed72b83
1 changed files with 1 additions and 1 deletions
|
@ -772,7 +772,7 @@ FBXGeometry extractFBXGeometry(const FBXNode& node, const QVariantHash& mapping)
|
|||
continue;
|
||||
}
|
||||
Material material = materials.value(childID);
|
||||
FBXMeshPart& part = mesh.parts[partIndex++];
|
||||
FBXMeshPart& part = mesh.parts[mesh.parts.size() - ++partIndex];
|
||||
part.diffuseColor = material.diffuse;
|
||||
part.specularColor = material.specular;
|
||||
part.shininess = material.shininess;
|
||||
|
|
Loading…
Reference in a new issue