Skip to content
Snippets Groups Projects
Commit 48c7d0c7 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

restore compatibility for tag 'MaterialModel'

parent 2683ae7c
No related branches found
No related tags found
1 merge request!2323BatchInfo split off from JobItem; mv Material classes; systematic names *Set, *QModel, *Editor
Pipeline #127979 passed
......@@ -200,7 +200,7 @@ void SampleItem::readFrom(QXmlStreamReader* r)
XML::gotoEndElementOfTag(r, tag);
// materials
} else if (tag == Tag::MaterialsSet) {
} else if (tag == Tag::MaterialsSet || tag == "MaterialModel" /*v<=21*/) {
m_materials.readFrom(r);
XML::gotoEndElementOfTag(r, tag);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment