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

0022968: RebuildShape exchanges 2d-curves

This commit is contained in:
GKA
2012-02-17 11:25:29 +00:00
committed by bugmaster
parent 44d9ae897c
commit 982a90fcba
2 changed files with 51 additions and 2 deletions

View File

@@ -118,7 +118,7 @@ static Standard_Boolean RebuildShape(const TopoDS_Edge& theEdge, TopoDS_Edge& th
c2d1= BRep_Tool::CurveOnSurface(tmpE,theFace,First2d,Last2d);
TopAbs_Orientation OrEdge = theNewEdge.Orientation();
if(theNewFace.Orientation() == TopAbs_REVERSED)
if(theFace.Orientation() == TopAbs_REVERSED)
OrEdge = ( OrEdge == TopAbs_FORWARD ? TopAbs_REVERSED : TopAbs_FORWARD);
if(OrEdge == TopAbs_FORWARD)