From: ana Date: Thu, 25 Jul 2013 12:15:12 +0000 (+0000) Subject: Preparation win32 version ("0021674: [CEA] problem with netgen 2D and netgen 1D2D... X-Git-Tag: V7_2_0_WIN~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6ee05256447f5636986730ae77b0941efabd3071;p=plugins%2Fnetgenplugin.git Preparation win32 version ("0021674: [CEA] problem with netgen 2D and netgen 1D2D on Windows platform" issue) --- 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(); }