Make sure compound structure is retained as SvgSerializer depends on it

This commit is contained in:
Thomas Krijnen
2025-10-01 15:01:50 +02:00
parent babf95785c
commit d684d47dc8
10 changed files with 32 additions and 5 deletions
@@ -1431,7 +1431,7 @@ bool IfcGeom::util::boolean_operation(const boolean_settings& settings, const To
}
TopoDS_Shape IfcGeom::util::ensure_fit_for_subtraction(const TopoDS_Shape& shape, double tol) {
const bool is_comp = is_compound(shape);
const bool is_comp = is_compound_of_faces(shape);
if (!is_comp) {
return shape;
}