mirror of https://github.com/CGAL/cgal
CGAL::IO > PMP::IO for input robustness
This commit is contained in:
parent
776cfd6c90
commit
645cb8223f
|
|
@ -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
|
||||
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;
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue