From: eap Date: Tue, 20 Jul 2010 06:05:22 +0000 (+0000) Subject: improve comment X-Git-Tag: end_translate_resources_09Jul10~29 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=90bfbd9c1e2be0596d6828c0616338dd76560881;p=modules%2Fsmesh.git improve comment --- diff --git a/src/SMESH/SMESH_MeshEditor.cxx b/src/SMESH/SMESH_MeshEditor.cxx index 3677674b5..8d9f81972 100644 --- a/src/SMESH/SMESH_MeshEditor.cxx +++ b/src/SMESH/SMESH_MeshEditor.cxx @@ -9059,8 +9059,9 @@ void SMESH_MeshEditor::ConvertToQuadratic(const bool theForce3d) ReplaceElemInGroups(volume, NewVolume, meshDS); } } - if ( !theForce3d && !getenv("NO_FixQuadraticElements")) { - aHelper.SetSubShape(0); // apply to the whole mesh + if ( !theForce3d && !getenv("NO_FixQuadraticElements")) + { // setenv NO_FixQuadraticElements to know if FixQuadraticElements() is guilty of bad conversion + aHelper.SetSubShape(0); // apply FixQuadraticElements() to the whole mesh aHelper.FixQuadraticElements(); } }