Do not "bend" internal links if environment variable NO_FixQuadraticElements is set

This commit is contained in:
eap 2010-05-19 09:35:44 +00:00
parent 283c73d9d5
commit 34aebed370

View File

@ -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();
}