From: eap Date: Wed, 6 Feb 2013 13:04:18 +0000 (+0000) Subject: 0022091: [CEA 760] Regression on test test check_mesh_stability.py X-Git-Tag: pluginMGCleaner~135 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5ea0315b7f51466cb615e8c8ef34e3cd5fc320b1;p=modules%2Fsmesh.git 0022091: [CEA 760] Regression on test test check_mesh_stability.py In Compute(), call aHelper.FixQuadraticElements() only if everything is OK --- diff --git a/src/SMESH/SMESH_Gen.cxx b/src/SMESH/SMESH_Gen.cxx index a9da55b41..a9ef17d1e 100644 --- a/src/SMESH/SMESH_Gen.cxx +++ b/src/SMESH/SMESH_Gen.cxx @@ -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 )