Change the way surface source reading flag is given

This commit is contained in:
YoungHui Park 2020-10-09 00:46:15 -05:00
parent c4b39cdb6c
commit f2bdae918c
2 changed files with 19 additions and 5 deletions

View file

@ -81,11 +81,6 @@ IndependentSource::IndependentSource(pugi::xml_node node)
settings::path_source));
}
// Check if it is a surface source file.
if (check_for_node(node, "surf_src_read")) {
settings::surf_src_read = get_node_value_bool(node, "surf_src_read");
}
} else if (check_for_node(node, "library")) {
settings::path_source_library = get_node_value(node, "library", false, true);
if (!file_exists(settings::path_source_library)) {