From f4ef17eea6fe25cc6b056e1fc4577ae0b4ecc8b6 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Fri, 29 Jan 2021 15:57:34 +0100 Subject: [PATCH] Also exclude spaces from HLR --- src/serializers/SvgSerializer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/serializers/SvgSerializer.cpp b/src/serializers/SvgSerializer.cpp index 2de254626d..51672ae2a0 100644 --- a/src/serializers/SvgSerializer.cpp +++ b/src/serializers/SvgSerializer.cpp @@ -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;