From 34aebed37037902d514b430429d97a62a9a5c367 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 19 May 2010 09:35:44 +0000 Subject: [PATCH] Do not "bend" internal links if environment variable NO_FixQuadraticElements is set --- src/SMESH/SMESH_MeshEditor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.39.2