1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0024949: Segmentation Violation during pipe creation

Test cases for issue 0024949

Correction of test case for issue CR24949
This commit is contained in:
jgv
2014-08-21 12:28:08 +04:00
committed by bugmaster
parent 95a2cf2f74
commit 73920cd481
10 changed files with 107 additions and 3 deletions

View File

@@ -2456,8 +2456,13 @@ BRepFill_Sweep::BRepFill_Sweep(const Handle(BRepFill_SectionLaw)& Section,
Vertex(1,ipath+1),
myTol3d);
}
else UpdateEdge(TopoDS::Edge(UEdge(isec, ipath)),
S, !exuv, UFirst);
else
{
if (UEdge(isec, ipath).IsNull()) //sweep failed
return Standard_False;
UpdateEdge(TopoDS::Edge(UEdge(isec, ipath)),
S, !exuv, UFirst);
}
if (uclose && (isec==NbLaw)) {
UpdateEdge(TopoDS::Edge(UEdge(1, ipath)),