mirror of https://github.com/CGAL/cgal
Initialize m_is_valid when expensive preconditions are off!
This commit is contained in:
parent
e6ddc1f499
commit
be8a4eb8a8
|
|
@ -191,6 +191,7 @@ public:
|
||||||
set_mesh_seaming(first_seam_vertex, end_seam_vertex);
|
set_mesh_seaming(first_seam_vertex, end_seam_vertex);
|
||||||
|
|
||||||
// Check that the cut mesh is 2-manifold
|
// Check that the cut mesh is 2-manifold
|
||||||
|
m_is_valid = true;
|
||||||
CGAL_surface_mesh_parameterization_expensive_precondition_code( \
|
CGAL_surface_mesh_parameterization_expensive_precondition_code( \
|
||||||
m_is_valid = mesh.is_valid() && check_seam(first_seam_vertex, end_seam_vertex); \
|
m_is_valid = mesh.is_valid() && check_seam(first_seam_vertex, end_seam_vertex); \
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue