mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 19:07:57 +00:00
Make sure compound structure is retained as SvgSerializer depends on it
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user