Skip to content

Commit

Permalink
Fix collada uv channels - temporary was stored and then updated. So a…
Browse files Browse the repository at this point in the history
…ll information on uv channels was ignored. (assimp#5630)

Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
  • Loading branch information
StepanHrbek and kimkulling committed Jun 21, 2024
1 parent 0afd366 commit adff2f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/AssetLib/Collada/ColladaParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}
Expand Down

0 comments on commit adff2f3

Please sign in to comment.