]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Do not "bend" internal links if environment variable NO_FixQuadraticElements is set
authoreap <eap@opencascade.com>
Wed, 19 May 2010 09:35:44 +0000 (09:35 +0000)
committereap <eap@opencascade.com>
Wed, 19 May 2010 09:35:44 +0000 (09:35 +0000)
src/SMESH/SMESH_MeshEditor.cxx

index 433c5116ef27964c1471e0ec7614ff06794b44c6..6801d7d0d14bbaf14a8cff2861c44c72d9e5f8e8 100644 (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();
   }