Fix Outer bound check in serializer #7099

This commit is contained in:
Thomas Krijnen
2025-09-13 14:23:54 +02:00
parent 41fb8ca583
commit b5ccb93618
@@ -537,7 +537,7 @@ int convert_to_ifc(const TopoDS_Face& f, IfcSchema::IfcFace*& face, bool advance
return 0;
}
IfcSchema::IfcFaceBound* bnd;
if (outer == f) {
if (outer == exp.Current()) {
bnd = new IfcSchema::IfcFaceOuterBound(loop, true);
} else {
bnd = new IfcSchema::IfcFaceBound(loop, true);