0030347: Mesh, BRepMesh_ModelPostProcessor - NCollection_Array1 throws Standard_Range...
[occt.git] / src / BRepMesh / BRepMesh_ModelPostProcessor.cxx
index 4e6581f..231558f 100644 (file)
@@ -36,6 +36,9 @@ namespace
     void operator()(const Standard_Integer theEdgeIndex) const
     {
       const IMeshData::IEdgeHandle& aDEdge = myModel->GetEdge(theEdgeIndex);
+      if (aDEdge->GetCurve()->ParametersNb() == 0)
+        return;
+
       if (aDEdge->IsFree())
       {
         if (!aDEdge->IsSet(IMeshData_Reused))