diff --git a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx index c6bfbd5..3f888ff 100644 --- a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx +++ b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx @@ -2900,11 +2900,13 @@ bool NETGENPlugin_Mesher::Evaluate(MapShapeNbElems& aResMap) void NETGENPlugin_Mesher::RemoveTmpFiles() { +#ifndef WIN32 if ( SMESH_File("test.out").remove() && netgen::testout) { delete netgen::testout; netgen::testout = 0; } +#endif SMESH_File("problemfaces").remove(); SMESH_File("occmesh.rep").remove(); }