Skip to content
Snippets Groups Projects
Commit 8ccb2314 authored by Karsten Rink's avatar Karsten Rink Committed by Tom Fischer
Browse files

added type flag in conversion utility

parent ec2996b7
No related branches found
No related tags found
No related merge requests found
...@@ -78,7 +78,7 @@ int main(int argc, char* argv[]) ...@@ -78,7 +78,7 @@ int main(int argc, char* argv[])
if (export_surfaces_arg.isSet()) if (export_surfaces_arg.isSet())
t = FileIO::Gocad::DataType::TSURF; t = FileIO::Gocad::DataType::TSURF;
std::vector<std::unique_ptr<MeshLib::Mesh>> meshes; std::vector<std::unique_ptr<MeshLib::Mesh>> meshes;
if (!FileIO::Gocad::GocadAsciiReader::readFile(file_name, meshes)) if (!FileIO::Gocad::GocadAsciiReader::readFile(file_name, meshes, t))
{ {
ERR("Error reading file."); ERR("Error reading file.");
return 1; return 1;
......
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