Salome HOME
Merge from V5_1_main 10/06/2010
[modules/smesh.git] / 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();
   }