IPAL0054628: Medial Axis failure and NETGEN SIGSEGV

Prevent SIGSEGV
This commit is contained in:
eap 2020-04-02 21:14:06 +03:00
parent b99e8206d1
commit 7e4e56931c

View File

@ -2483,7 +2483,8 @@ int NETGENPlugin_Mesher::FillSMesh(const netgen::OCCGeometry& occgeo,
// Create and insert nodes into nodeVec
// -------------------------------------
nodeVec.resize( nbNod + 1 );
if ( nbNod > nbInitNod )
nodeVec.resize( nbNod + 1 );
for ( i = nbInitNod+1; i <= nbNod; ++i )
{
const netgen::MeshPoint& ngPoint = ngMesh.Point(i);