From 5ea0315b7f51466cb615e8c8ef34e3cd5fc320b1 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 6 Feb 2013 13:04:18 +0000 Subject: [PATCH] 0022091: [CEA 760] Regression on test test check_mesh_stability.py In Compute(), call aHelper.FixQuadraticElements() only if everything is OK --- src/SMESH/SMESH_Gen.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ) -- 2.39.2