Salome HOME
merge V5_1_4
[modules/smesh.git] / src / SMESH / SMESH_MeshEditor.cxx
index b8a52e1759f3bbd2ba130b34e183f2c3cee564ff..2a52ec831fd3861907fda339766eed612d04c87b 100644 (file)
@@ -9057,7 +9057,7 @@ void SMESH_MeshEditor::ConvertToQuadratic(const bool theForce3d)
       ReplaceElemInGroups(volume, NewVolume, meshDS);
     }
   }
       ReplaceElemInGroups(volume, NewVolume, meshDS);
     }
   }
-  if ( !theForce3d ) {
+  if ( !theForce3d  && !getenv("NO_FixQuadraticElements")) {
     aHelper.SetSubShape(0); // apply to the whole mesh
     aHelper.FixQuadraticElements();
   }
     aHelper.SetSubShape(0); // apply to the whole mesh
     aHelper.FixQuadraticElements();
   }