mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0029573: ConcatenateWireC0 crashes on two edges wire
Wrong setting first/last vertices is fixed Test case added
This commit is contained in:
@@ -421,9 +421,9 @@ TopoDS_Edge BRepAlgo::ConcatenateWireC0(const TopoDS_Wire& aWire)
|
||||
isReverse = !IsFwdSeq(1);
|
||||
}
|
||||
|
||||
TopoDS_Vertex FirstVtx_final = (isReverse)? LastVertex : FirstVertex;
|
||||
TopoDS_Vertex FirstVtx_final = FirstVertex;
|
||||
FirstVtx_final.Orientation(TopAbs_FORWARD);
|
||||
TopoDS_Vertex LastVtx_final = (isReverse)? FirstVertex : LastVertex;
|
||||
TopoDS_Vertex LastVtx_final = LastVertex;
|
||||
LastVtx_final.Orientation(TopAbs_REVERSED);
|
||||
|
||||
if (CurveSeq.IsEmpty())
|
||||
|
Reference in New Issue
Block a user