added missing IO ns

This commit is contained in:
Dmitry Anisimov 2021-06-18 14:47:32 +02:00
parent aaf55dbaa0
commit ad6a7183c5
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ void get_meshes(
template<typename PolygonMesh>
void save_mesh(const PolygonMesh& mesh, const std::string filepath) {
if (!CGAL::write_PLY(filepath + ".ply", mesh)) {
if (!CGAL::IO::write_PLY(filepath + ".ply", mesh)) {
std::cerr << "ERROR: cannot save this file: " << filepath << std::endl;
exit(EXIT_FAILURE);
}