CGAL::IO > PMP::IO for input robustness

This commit is contained in:
Mael Rouxel-Labbé 2022-03-31 23:25:36 +02:00
parent 776cfd6c90
commit 645cb8223f
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ bool read_from_file(const std::string& filename,
// make sure the mesh is empty and ready for the next set of data // make sure the mesh is empty and ready for the next set of data
clear(mesh); clear(mesh);
if(!CGAL::IO::read_polygon_mesh(filename, mesh)) if(!PMP::IO::read_polygon_mesh(filename, mesh))
{ {
std::cerr << "Error: failed to read input: " << filename << std::endl; std::cerr << "Error: failed to read input: " << filename << std::endl;
return false; return false;