mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0028118: Mesh generation hangs then crashes
Protection against hangs of mesh and crash(made by epa) Added test case bugs/mesh/bug28118 Tests mesh* standard_* W7 are corrected (TODO removed)
This commit is contained in:
@@ -79,7 +79,7 @@ BRepMesh_EdgeTessellator::BRepMesh_EdgeTessellator(
|
||||
{
|
||||
// bug24220
|
||||
const Standard_Integer aNbInt = myCOnS.NbIntervals(GeomAbs_C1);
|
||||
if ( aNbInt > 0 )
|
||||
if ( aNbInt > 1 )
|
||||
{
|
||||
TColStd_Array1OfReal anIntervals( 1, aNbInt + 1 );
|
||||
myCOnS.Intervals(anIntervals, GeomAbs_C1);
|
||||
|
Reference in New Issue
Block a user