Fix collada uv channels - temporary was stored and then updated. So all information on uv channels was ignored. (#5630)

Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
pull/5634/head
Stepan Hrbek 2024-06-21 13:49:19 +02:00 committed by GitHub
parent 0afd366dcb
commit adff2f388a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -2293,9 +2293,9 @@ void ColladaParser::ReadNodeGeometry(XmlNode &node, Node *pNode) {
urlMat++;
s.mMatName = urlMat;
ReadMaterialVertexInputBinding(instanceMatNode, s);
// store the association
instance.mMaterials[group] = s;
ReadMaterialVertexInputBinding(instanceMatNode, s);
}
}
}