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

Fixed TransferEdge

This commit is contained in:
aln
2022-04-28 11:21:22 +03:00
parent 14a58b6472
commit c88a9e8472

View File

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