From 19ed074b4a0c97aae8e8c8ea0daa6dc7b92a05b7 Mon Sep 17 00:00:00 2001 From: Otso Alho Date: Thu, 6 Jun 2019 09:09:36 +0300 Subject: [PATCH] inverse thicknesses --- src/ifcgeom/IfcGeomFunctions.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ifcgeom/IfcGeomFunctions.cpp b/src/ifcgeom/IfcGeomFunctions.cpp index 0c20ec98aa..de263b3755 100644 --- a/src/ifcgeom/IfcGeomFunctions.cpp +++ b/src/ifcgeom/IfcGeomFunctions.cpp @@ -2027,6 +2027,7 @@ bool IfcGeom::Kernel::convert_layerset(const IfcSchema::IfcProduct* product, std } if (positive) { + std::reverse(thicknesses.begin(), thicknesses.end()); std::reverse(styles.begin(), styles.end()); std::reverse(surfaces.begin(), surfaces.end()); }