diff --git a/src/SMESH/SMESH_MeshEditor.cxx b/src/SMESH/SMESH_MeshEditor.cxx index 433c5116e..6801d7d0d 100644 --- a/src/SMESH/SMESH_MeshEditor.cxx +++ b/src/SMESH/SMESH_MeshEditor.cxx @@ -9056,7 +9056,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(); }