1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

0030347: Mesh, BRepMesh_ModelPostProcessor - NCollection_Array1 throws Standard_RangeError

Obtaining of 3D-polygon is forbidden for not discretized edge.
This commit is contained in:
nbv 2018-11-07 13:22:42 +03:00 committed by bugmaster
parent 8946be3422
commit c3ca03eb17

View 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))