From 562210b8620f510a29cd9d57316f37d42e26e48e Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Sat, 12 Apr 2014 23:20:21 +0200 Subject: [PATCH] Fix for products with openings --- src/ifcgeom/IfcGeomFunctions.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ifcgeom/IfcGeomFunctions.cpp b/src/ifcgeom/IfcGeomFunctions.cpp index f2ecc753a1..555d584673 100644 --- a/src/ifcgeom/IfcGeomFunctions.cpp +++ b/src/ifcgeom/IfcGeomFunctions.cpp @@ -629,6 +629,7 @@ std::string IfcGeom::create_brep_data(Ifc2x3::IfcProduct* ifc_product) { it->prepend(trsf); } trsf = gp_Trsf(); + shapes = opened_shapes; } else { for ( IfcGeom::IfcRepresentationShapeItems::iterator it = shapes.begin(); it != shapes.end(); ++ it ) { it->prepend(trsf);