IPAL0054628: Medial Axis failure and NETGEN SIGSEGV
Prevent SIGSEGV
This commit is contained in:
parent
b99e8206d1
commit
7e4e56931c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user