From: eap Date: Wed, 19 May 2010 09:35:44 +0000 (+0000) Subject: Do not "bend" internal links if environment variable NO_FixQuadraticElements is set X-Git-Tag: V5_1_4~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=34aebed37037902d514b430429d97a62a9a5c367;p=modules%2Fsmesh.git Do not "bend" internal links if environment variable NO_FixQuadraticElements is set --- 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(); }