mirror of https://github.com/CGAL/cgal
Misc cleaning
This commit is contained in:
parent
c8cc0747fa
commit
5578bf43ff
|
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue