Also exclude spaces from HLR

This commit is contained in:
Thomas Krijnen
2021-01-29 15:57:34 +01:00
parent 5db0f78646
commit f4ef17eea6
+2 -2
View File
@@ -634,8 +634,8 @@ void SvgSerializer::write(const geometry_data& data) {
}
}
// Exclude annotations from HLR
if (any_in_front && !data.product->declaration().is("IfcAnnotation")) {
// Exclude annotations and spaces from HLR
if (any_in_front && !data.product->declaration().is("IfcAnnotation") && !data.product->declaration().is("IfcSpace")) {
TopoDS_Shape* compound_to_hlr = &compound_to_use;
TopoDS_Shape subtracted_shape;