From 90bfbd9c1e2be0596d6828c0616338dd76560881 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 20 Jul 2010 06:05:22 +0000 Subject: [PATCH] improve comment --- src/SMESH/SMESH_MeshEditor.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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(); } } -- 2.39.2