0026989: [Regression in 6.9.0] Export of a reversed face leads to wrong data in 6.9.0
[occt.git] / src / BRepToIGES / BRepToIGES_BRShell.cxx
index c0885f7..9d2003a 100644 (file)
@@ -198,6 +198,10 @@ Handle(IGESData_IGESEntity) BRepToIGES_BRShell ::TransferFace(const TopoDS_Face&
         else {
           B.UpdateEdge(anEdge, aCurve1, myface, aTol);
         }
+        // set range for degenerated edges
+        if (BRep_Tool::Degenerated(anEdge)) {
+          B.Range(anEdge, myface, f, l);
+        }
       }
     }
   }