mirror of https://github.com/CGAL/cgal
Polygon Mesh Processing: Fix CGAL_assertion_msg
This commit is contained in:
parent
ba40f768b5
commit
0b56297ea2
|
|
@ -1,3 +1,6 @@
|
|||
#define CGAL_NO_ASSERTIONS
|
||||
|
||||
|
||||
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
|
||||
#include <CGAL/Surface_mesh.h>
|
||||
#include <CGAL/Polygon_mesh_processing/remesh.h>
|
||||
|
|
|
|||
|
|
@ -328,7 +328,7 @@ namespace internal {
|
|||
halfedge_status_pmap_ = get(CGAL::dynamic_halfedge_property_t<Halfedge_status>(),
|
||||
pmesh);
|
||||
CGAL_assertion_code(input_mesh_is_valid_ = CGAL::is_valid_polygon_mesh(pmesh));
|
||||
CGAL_warning_msg(input_mesh_is_valid_,
|
||||
CGAL_assertion_msg(input_mesh_is_valid_,
|
||||
"The input mesh is not a valid polygon mesh. "
|
||||
"It could lead PMP::isotropic_remeshing() to fail.");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue