mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 09:50:34 +05:00
Fix access to NULL quad
This commit is contained in:
parent
5f7b45e582
commit
d0bcfa9ea1
@ -909,7 +909,7 @@ FaceQuadStruct::Ptr StdMeshers_Quadrangle_2D::CheckNbEdges(SMESH_Mesh &
|
||||
break;
|
||||
}
|
||||
}
|
||||
if ( quad->side.size() != 4 )
|
||||
if ( quad && quad->side.size() != 4 )
|
||||
{
|
||||
error(TComm("Bug: ") << quad->side.size() << " sides found instead of 4");
|
||||
quad.reset();
|
||||
|
Loading…
Reference in New Issue
Block a user