0022091: [CEA 760] Regression on test test check_mesh_stability.py

In Compute(), call aHelper.FixQuadraticElements() only if everything is OK
This commit is contained in:
eap 2013-02-06 13:04:18 +00:00
parent 6e5ef9a043
commit 5ea0315b7f

View 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 )