X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESH%2FSMESH_MeshEditor.cxx;h=2a52ec831fd3861907fda339766eed612d04c87b;hp=b8a52e1759f3bbd2ba130b34e183f2c3cee564ff;hb=0c16e57723ec8522693f2f0b6d3216b4f4e3d686;hpb=a399364c85efef719b8f0f1d1a81fc57a60b4601 diff --git a/src/SMESH/SMESH_MeshEditor.cxx b/src/SMESH/SMESH_MeshEditor.cxx index b8a52e175..2a52ec831 100644 --- a/src/SMESH/SMESH_MeshEditor.cxx +++ b/src/SMESH/SMESH_MeshEditor.cxx @@ -9057,7 +9057,7 @@ void SMESH_MeshEditor::ConvertToQuadratic(const bool theForce3d) ReplaceElemInGroups(volume, NewVolume, meshDS); } } - if ( !theForce3d ) { + if ( !theForce3d && !getenv("NO_FixQuadraticElements")) { aHelper.SetSubShape(0); // apply to the whole mesh aHelper.FixQuadraticElements(); }