Merge branch 'develop' into mixed_ncrystal_pr

This commit is contained in:
Paul Romano 2023-01-09 13:13:11 +07:00
commit b6d6bdf3f5
166 changed files with 7699 additions and 4693 deletions

View file

@ -141,6 +141,12 @@ void read_plots_xml()
doc.load_file(filename.c_str());
pugi::xml_node root = doc.document_element();
read_plots_xml(root);
}
void read_plots_xml(pugi::xml_node root)
{
for (auto node : root.children("plot")) {
model::plots.emplace_back(node);
model::plot_map[model::plots.back().id_] = model::plots.size() - 1;