]> OCCT Git - occt.git/commitdiff
Fixed TransferEdge CR25654
authoraln <alukin@opencascade.com>
Thu, 28 Apr 2022 08:21:22 +0000 (11:21 +0300)
committeraln <alukin@opencascade.com>
Thu, 28 Apr 2022 08:21:22 +0000 (11:21 +0300)
src/BRepToIGES/BRepToIGES_BRWire.cxx

index 91be5308afb638a11e69175103097c3c195e7d47..f7f7122a267ea8aaf3daad8d99a4986a5d27c1e6 100644 (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() || GetPCurveMode() ==0 ||
-       ( ! theIsBRepMode && BRep_Tool::Degenerated (theEdge) ) ) return res;
+  if (theEdge.IsNull() || ( ! theIsBRepMode && BRep_Tool::Degenerated (theEdge) ) )
+    return res;
 
   //S4181 pdn 23.04.99 adjusting length factor according to analytic mode.
   Standard_Real myLen = theLength;