Consistency TopExp_Explorer::Current()

This commit is contained in:
Thomas Krijnen
2024-08-02 04:50:06 +02:00
parent 8e5a7ed24e
commit a689fc6377
+1 -1
View File
@@ -461,7 +461,7 @@ namespace {
TopExp_Explorer it(shell, TopAbs_FACE);
for (; it.More(); it.Next()) {
const auto& face = TopoDS::Face(it.Value());
const auto& face = TopoDS::Face(it.Current());
auto surf = BRep_Tool::Surface(face);
if (surf->DynamicType() != STANDARD_TYPE(Geom_Plane)) {
return boost::none;