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

pull/5630/head
Stepan Hrbek 2024-06-20 16:15:05 +02:00
parent 77f7706a97
commit 07f72c8530
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);
}
}
}