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>
This commit is contained in:
Stepan Hrbek
2024-06-21 13:49:19 +02:00
committed by GitHub
parent 0afd366dcb
commit adff2f388a

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);
}
}
}