mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-27 17:20:33 +05:00
PAL13330 (When mesh generation does not success, trace where)
fix error message
This commit is contained in:
parent
7ed7e0e32a
commit
ca74cc3727
@ -626,7 +626,9 @@ FaceQuadStruct* StdMeshers_Quadrangle_2D::CheckNbEdges(SMESH_Mesh & aMes
|
||||
}
|
||||
cout << endl;
|
||||
#endif
|
||||
error(COMPERR_BAD_SHAPE, TComm("Face must have 4 side but not ") << nbSides);
|
||||
if ( !nbSides )
|
||||
nbSides = nbEdgesInWire.front();
|
||||
error(COMPERR_BAD_SHAPE, TComm("Face must have 4 sides but not ") << nbSides);
|
||||
delete quad;
|
||||
quad = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user