mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-01 20:30:35 +05:00
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:
parent
6e5ef9a043
commit
5ea0315b7f
@ -371,7 +371,8 @@ bool SMESH_Gen::Compute(SMESH_Mesh & aMesh,
|
|||||||
|
|
||||||
// fix quadratic mesh by bending iternal links near concave boundary
|
// fix quadratic mesh by bending iternal links near concave boundary
|
||||||
if ( aShape.IsSame( aMesh.GetShapeToMesh() ) &&
|
if ( aShape.IsSame( aMesh.GetShapeToMesh() ) &&
|
||||||
!aShapesId ) // not preview
|
!aShapesId && // not preview
|
||||||
|
ret ) // everything is OK
|
||||||
{
|
{
|
||||||
SMESH_MesherHelper aHelper( aMesh );
|
SMESH_MesherHelper aHelper( aMesh );
|
||||||
if ( aHelper.IsQuadraticMesh() != SMESH_MesherHelper::LINEAR )
|
if ( aHelper.IsQuadraticMesh() != SMESH_MesherHelper::LINEAR )
|
||||||
|
Loading…
Reference in New Issue
Block a user