From: eap Date: Tue, 23 Jul 2013 12:58:30 +0000 (+0000) Subject: 0022170: [CEA 704] Redirect NETGEN outup in a log file X-Git-Tag: V7_3_0a1~37 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cffc818f792cc11527e9a1c92b2ba1d808240d73;p=plugins%2Fnetgenplugin.git 0022170: [CEA 704] Redirect NETGEN outup in a log file Keep output files in case of failure in DEBUG mode only --- diff --git a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx index f2ab2e2..c848928 100644 --- a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx +++ b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx @@ -3564,7 +3564,9 @@ NETGENPlugin_NetgenLibWrapper::~NETGENPlugin_NetgenLibWrapper() Ng_DeleteMesh( _ngMesh ); Ng_Exit(); NETGENPlugin_Mesher::RemoveTmpFiles(); +#ifdef _DEBUG_ if( _isComputeOk ) +#endif removeOutputFile(); }