Skip to content
Snippets Groups Projects
Commit d19a1de7 authored by Tom Fischer's avatar Tom Fischer
Browse files

[FileIO] VtuInterface: Output error message.

parent 0e2d9efc
No related branches found
No related tags found
No related merge requests found
...@@ -52,8 +52,10 @@ VtuInterface::~VtuInterface() ...@@ -52,8 +52,10 @@ VtuInterface::~VtuInterface()
MeshLib::Mesh* VtuInterface::readVTUFile(std::string const &file_name) MeshLib::Mesh* VtuInterface::readVTUFile(std::string const &file_name)
{ {
if (!BaseLib::IsFileExisting(file_name)) if (!BaseLib::IsFileExisting(file_name)) {
ERR("File \"%s\" does not exist.", file_name.c_str());
return nullptr; return nullptr;
}
vtkSmartPointer<vtkXMLUnstructuredGridReader> reader = vtkSmartPointer<vtkXMLUnstructuredGridReader> reader =
vtkSmartPointer<vtkXMLUnstructuredGridReader>::New(); vtkSmartPointer<vtkXMLUnstructuredGridReader>::New();
......
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