mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-28 19:27:10 +00:00
Fix Outer bound check in serializer #7099
This commit is contained in:
@@ -537,7 +537,7 @@ int convert_to_ifc(const TopoDS_Face& f, IfcSchema::IfcFace*& face, bool advance
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
IfcSchema::IfcFaceBound* bnd;
|
IfcSchema::IfcFaceBound* bnd;
|
||||||
if (outer == f) {
|
if (outer == exp.Current()) {
|
||||||
bnd = new IfcSchema::IfcFaceOuterBound(loop, true);
|
bnd = new IfcSchema::IfcFaceOuterBound(loop, true);
|
||||||
} else {
|
} else {
|
||||||
bnd = new IfcSchema::IfcFaceBound(loop, true);
|
bnd = new IfcSchema::IfcFaceBound(loop, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user