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

#TransferEdge fix rollback

This commit is contained in:
ona
2022-07-11 19:05:42 +03:00
parent b46cd0724c
commit 04ee2123d0

View File

@@ -308,8 +308,8 @@ Handle(IGESData_IGESEntity) BRepToIGES_BRWire ::TransferEdge (const TopoDS_Edge&
const Standard_Boolean theIsBRepMode)
{
Handle(IGESData_IGESEntity) res;
if (theEdge.IsNull() || ( ! theIsBRepMode && BRep_Tool::Degenerated (theEdge) ) )
return res;
if (theEdge.IsNull() || GetPCurveMode() ==0 ||
( ! theIsBRepMode && BRep_Tool::Degenerated (theEdge) ) ) return res;
//S4181 pdn 23.04.99 adjusting length factor according to analytic mode.
Standard_Real myLen = theLength;