Regression of smesh/bugs_19/X1: avoid SIGSEGV in case of invalid node params on EDGE
This commit is contained in:
parent
9b3c975bfe
commit
17822d1b5f
@ -790,6 +790,7 @@ bool NETGENPlugin_Mesher::FillNgMesh(netgen::OCCGeometry& occgeom,
|
||||
bool isQuad = smDS->NbElements() ? smDS->GetElements()->next()->IsQuadratic() : false;
|
||||
StdMeshers_FaceSide fSide( face, edges, _mesh, isForwad, isQuad );
|
||||
const vector<UVPtStruct>& points = fSide.GetUVPtStruct();
|
||||
if ( points.empty() ) return false; // invalid node params?
|
||||
int i, nbSeg = fSide.NbSegments();
|
||||
|
||||
// remember EDGEs of fSide to treat only once
|
||||
|
Loading…
Reference in New Issue
Block a user