]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/SMESH/SMESH_Gen.cxx
Salome HOME
0022091: [CEA 760] Regression on test test check_mesh_stability.py
[modules/smesh.git] / src / SMESH / SMESH_Gen.cxx
index a9da55b41e72916cded85d63ad6c7093a6f53585..a9ef17d1eb215f0aa5ebb2679111f65eef81a9bb 100644 (file)
@@ -371,7 +371,8 @@ bool SMESH_Gen::Compute(SMESH_Mesh &          aMesh,
 
   // fix quadratic mesh by bending iternal links near concave boundary
   if ( aShape.IsSame( aMesh.GetShapeToMesh() ) &&
-       !aShapesId ) // not preview
+       !aShapesId && // not preview
+       ret ) // everything is OK
   {
     SMESH_MesherHelper aHelper( aMesh );
     if ( aHelper.IsQuadraticMesh() != SMESH_MesherHelper::LINEAR )