Misc cleaning

This commit is contained in:
Mael Rouxel-Labbé 2021-09-27 15:35:40 +02:00
parent c8cc0747fa
commit 5578bf43ff
3 changed files with 9 additions and 9 deletions

View File

@ -220,11 +220,11 @@ bool write_PLY(std::ostream& os,
set_stream_precision_from_NP(os, np); set_stream_precision_from_NP(os, np);
if (has_normals) if(has_normals)
return write_PLY_with_properties(os, points, return write_PLY_with_properties(os, points,
make_ply_point_writer(point_map), make_ply_point_writer(point_map),
make_ply_normal_writer(normal_map)); make_ply_normal_writer(normal_map));
// else
return write_PLY_with_properties(os, points, make_ply_point_writer(point_map)); return write_PLY_with_properties(os, points, make_ply_point_writer(point_map));
} }

View File

@ -89,7 +89,7 @@ bool read_STL(std::istream& is,
if(!is.good()) if(!is.good())
{ {
if(verbose) if(verbose)
std::cerr<<"File doesn't exist."<<std::endl; std::cerr << "File doesn't exist." << std::endl;
return false; return false;
} }