From 2cfe74ce098759a8891850b84981b910ccac7951 Mon Sep 17 00:00:00 2001 From: Otso Alho Date: Fri, 24 May 2019 14:57:29 +0300 Subject: [PATCH] reverse styles also when reversing surfaces --- src/ifcgeom/IfcGeomFunctions.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ifcgeom/IfcGeomFunctions.cpp b/src/ifcgeom/IfcGeomFunctions.cpp index fca7f24af8..0c20ec98aa 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(styles.begin(), styles.end()); std::reverse(surfaces.begin(), surfaces.end()); }