mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Fixes #1038
This commit is contained in:
committed by
Thomas Krijnen
parent
40e30eaa36
commit
09847513ab
@@ -1697,7 +1697,7 @@ namespace {
|
||||
}
|
||||
k.remove_duplicate_points_from_loop(polygon, true);
|
||||
|
||||
if (polygon.Size() < 3) {
|
||||
if (polygon.Length() < 3) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -1816,7 +1816,7 @@ bool IfcGeom::Kernel::convert(const IfcSchema::IfcPolygonalFaceSet* pfs, TopoDS_
|
||||
}
|
||||
}
|
||||
|
||||
if (faces.Size() == 0) return false;
|
||||
if (faces.IsEmpty() == 0) return false;
|
||||
|
||||
return create_solid_from_faces(faces, shape);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user