projects
/
opencascade.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efaa998
)
[PATCH 5/7] BRepFill_Filling: Don't even attempt to build with empty boundary
author
blobfish
<blobfish@gmx.com>
Mon, 8 Feb 2021 00:02:09 +0000
(
00:02
+0000)
committer
Kurt Kremitzki
<kkremitzki@debian.org>
Mon, 8 Feb 2021 00:02:09 +0000
(
00:02
+0000)
Gbp-Pq: Name 0005-BRepFill_Filling-Don-t-even-attempt-to-build-with-em.patch
src/BRepFill/BRepFill_Filling.cxx
patch
|
blob
|
history
diff --git
a/src/BRepFill/BRepFill_Filling.cxx
b/src/BRepFill/BRepFill_Filling.cxx
index 3c7961507e8d4d3e886cd02608d41c02cb8f3745..2874124dc9e6ce8bf7071735356bec6ba9649d5e 100644
(file)
--- a/
src/BRepFill/BRepFill_Filling.cxx
+++ b/
src/BRepFill/BRepFill_Filling.cxx
@@
-590,6
+590,12
@@
void BRepFill_Filling::Build()
GeomPlate_BuildPlateSurface thebuild( myDegree, myNbPtsOnCur, myNbIter,
myTol2d, myTol3d, myTolAng, myTolCurv, myAnisotropie );
+ if (myBoundary.IsEmpty())
+ {
+ myIsDone = Standard_False;
+ return;
+ }
+
myBuilder = thebuild;
TopoDS_Edge CurEdge;
TopoDS_Face CurFace;