From cffc818f792cc11527e9a1c92b2ba1d808240d73 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 23 Jul 2013 12:58:30 +0000 Subject: [PATCH] 0022170: [CEA 704] Redirect NETGEN outup in a log file Keep output files in case of failure in DEBUG mode only --- src/NETGENPlugin/NETGENPlugin_Mesher.cxx | 2 ++ 1 file changed, 2 insertions(+) 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(); } -- 2.39.2