Skip to content

Commit

Permalink
reverse styles also when reversing surfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
otsoa authored and aothms committed Jun 7, 2019
1 parent 7e089ab commit 2cfe74c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ifcgeom/IfcGeomFunctions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}

Expand Down

0 comments on commit 2cfe74c

Please sign in to comment.