mirror of https://github.com/CGAL/cgal
Fix not forwarding verbose NP to inner functions
This commit is contained in:
parent
8ec3949272
commit
451223a2e8
|
|
@ -101,7 +101,7 @@ bool read_polygon_mesh(const std::string& fname,
|
||||||
|
|
||||||
std::vector<Point> points;
|
std::vector<Point> points;
|
||||||
std::vector<std::vector<std::size_t> > faces;
|
std::vector<std::vector<std::size_t> > faces;
|
||||||
if(!CGAL::IO::read_polygon_soup(fname, points, faces))
|
if(!CGAL::IO::read_polygon_soup(fname, points, faces, CGAL::parameters::verbose(verbose)))
|
||||||
{
|
{
|
||||||
if(verbose)
|
if(verbose)
|
||||||
std::cerr << "Warning: cannot read polygon soup" << std::endl;
|
std::cerr << "Warning: cannot read polygon soup" << std::endl;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue