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

serialize polarizer Bloch vector

parent 30111df8
No related branches found
No related tags found
1 merge request!2679apply test suite to XML serialization, and fix a number of serialization bugs (#1013); revert removal of materials argument (#1014)
Pipeline #152305 failed
......@@ -155,6 +155,8 @@ void InstrumentItem::readFrom(QXmlStreamReader* r)
m_with_analyzer = XML::readTaggedBool(r, tag);
else if (tag == Tag::AnalyzerBlochVector)
XML::readTaggedElement(r, tag, m_analyzer_bloch_vector);
else if (tag == Tag::PolarizerBlochVector)
XML::readTaggedElement(r, tag, m_polarizer_bloch_vector);
else if (tag == Tag::Background)
XML::readTaggedElement(r, tag, m_background);
else if (tag == Tag::ExpandInfoGroupbox)
......
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