diff --git a/src/BRepFill/BRepFill_Filling.cxx b/src/BRepFill/BRepFill_Filling.cxx index 4ba10915fd..b8d11791f2 100644 --- a/src/BRepFill/BRepFill_Filling.cxx +++ b/src/BRepFill/BRepFill_Filling.cxx @@ -563,6 +563,13 @@ void BRepFill_Filling::Build() myTolAng, myTolCurv, myAnisotropie)); + + if (myBoundary.IsEmpty()) + { + myIsDone = Standard_False; + return; + } + TopoDS_Edge CurEdge; TopoDS_Face CurFace; Standard_Integer i, j;