Preparation win32 version ("0021674: [CEA] problem with netgen 2D and netgen 1D2D on Windows platform" issue)

This commit is contained in:
ana 2013-07-25 12:15:12 +00:00
parent b0c1fba0d8
commit 6ee0525644

View File

@ -2900,11 +2900,13 @@ bool NETGENPlugin_Mesher::Evaluate(MapShapeNbElems& aResMap)
void NETGENPlugin_Mesher::RemoveTmpFiles() void NETGENPlugin_Mesher::RemoveTmpFiles()
{ {
#ifndef WIN32
if ( SMESH_File("test.out").remove() && netgen::testout) if ( SMESH_File("test.out").remove() && netgen::testout)
{ {
delete netgen::testout; delete netgen::testout;
netgen::testout = 0; netgen::testout = 0;
} }
#endif
SMESH_File("problemfaces").remove(); SMESH_File("problemfaces").remove();
SMESH_File("occmesh.rep").remove(); SMESH_File("occmesh.rep").remove();
} }