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:
@@ -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)),
|
||||
|
Reference in New Issue
Block a user