mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-11 16:19:16 +05:00
Avoid SIGSEGV in debug mode if CheckNbEdges() is called w/o calling Compute()
This commit is contained in:
parent
c81123c27b
commit
03ec1eff31
@ -961,7 +961,7 @@ FaceQuadStruct::Ptr StdMeshers_Quadrangle_2D::CheckNbEdges(SMESH_Mesh &
|
||||
}
|
||||
}
|
||||
}
|
||||
if (nbSides != 4) {
|
||||
if (nbSides != 4 && myHelper) {
|
||||
#ifdef _DEBUG_
|
||||
MESSAGE ("StdMeshers_Quadrangle_2D. Edge IDs of " << nbSides << " sides:\n");
|
||||
for (int i = 0; i < nbSides; ++i) {
|
||||
|
Loading…
Reference in New Issue
Block a user