Sketcher: support vertexes in sketch used e.g. for hole features

This commit is contained in:
wmayer
2020-11-07 13:47:15 +01:00
committed by abdullahtahiriyo
parent 33b47ecdd0
commit eee49a8f1f
2 changed files with 13 additions and 5 deletions

View File

@@ -4132,7 +4132,7 @@ TopoShape &TopoShape::makEFace(const std::vector<TopoShape> &shapes, const char
for(auto &s : shapes) {
if (s.getShape().ShapeType() == TopAbs_COMPOUND)
mkFace->useCompound(TopoDS::Compound(s.getShape()));
else
else if (s.getShape().ShapeType() != TopAbs_VERTEX)
mkFace->addShape(s.getShape());
}
mkFace->Build();