projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0022717: Exception during sewing
[occt.git]
/
src
/
ShapeBuild
/
ShapeBuild_Edge.cxx
diff --git
a/src/ShapeBuild/ShapeBuild_Edge.cxx
b/src/ShapeBuild/ShapeBuild_Edge.cxx
index
e2eb2ae
..
0c2f8e2
100755
(executable)
--- a/
src/ShapeBuild/ShapeBuild_Edge.cxx
+++ b/
src/ShapeBuild/ShapeBuild_Edge.cxx
@@
-589,6
+589,8
@@
Standard_Boolean ShapeBuild_Edge::BuildCurve3d (const TopoDS_Edge& edge) const
Handle(Geom_Curve) c3d;
Standard_Real f,l;
c3d = BRep_Tool::Curve(edge,f,l);
+ if (c3d.IsNull())
+ return Standard_False;
// 15.11.2002 PTV OCC966
if(!IsPeriodic(c3d)) {
Standard_Boolean isLess = Standard_False;