Skip to content

Commit 4b92d7d

Browse files
committed
cgal: Dont proceed when not valid after triangulation #6735
1 parent d10c176 commit 4b92d7d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ifcgeom/kernels/cgal/CgalConversionResult.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ void ifcopenshell::geometry::CgalShape::Triangulate(ifcopenshell::geometry::Sett
240240

241241
if (!shape_to_use->is_valid()) {
242242
Logger::Message(Logger::LOG_ERROR, "Invalid Polyhedron_3 in object (after triangulation)");
243-
// return;
243+
return;
244244
}
245245
}
246246

0 commit comments

Comments
 (0)