From 427720f36989627ac703e21cae52bf32e8ed2558 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Fri, 28 Dec 2018 15:18:41 +0100 Subject: [PATCH] Addendum to previous merge --- src/ifcgeom_schema_agnostic/Kernel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcgeom_schema_agnostic/Kernel.cpp b/src/ifcgeom_schema_agnostic/Kernel.cpp index f80bcbef2f..ecd738a048 100644 --- a/src/ifcgeom_schema_agnostic/Kernel.cpp +++ b/src/ifcgeom_schema_agnostic/Kernel.cpp @@ -196,7 +196,7 @@ std::map IfcGeom::Kernel::get_layers(IfcUt } bool IfcGeom::Kernel::is_manifold(const TopoDS_Shape& a) { - if (a.ShapeType() == TopAbs_COMPOUND) { + if (a.ShapeType() == TopAbs_COMPOUND || a.ShapeType() == TopAbs_SOLID) { TopoDS_Iterator it(a); for (; it.More(); it.Next()) { if (!is_manifold(it.Value())) {