Salome HOME
0022170: [CEA 704] Redirect NETGEN outup in a log file
authoreap <eap@opencascade.com>
Tue, 23 Jul 2013 12:58:30 +0000 (12:58 +0000)
committereap <eap@opencascade.com>
Tue, 23 Jul 2013 12:58:30 +0000 (12:58 +0000)
Keep output files in case of failure in DEBUG mode only

src/NETGENPlugin/NETGENPlugin_Mesher.cxx

index f2ab2e21c073ab4b797d1d210decb606d9cdbe96..c84892850d3fa726dce2261f849acd7145f70bba 100644 (file)
@@ -3564,7 +3564,9 @@ NETGENPlugin_NetgenLibWrapper::~NETGENPlugin_NetgenLibWrapper()
   Ng_DeleteMesh( _ngMesh );
   Ng_Exit();
   NETGENPlugin_Mesher::RemoveTmpFiles();
+#ifdef _DEBUG_
   if( _isComputeOk )
+#endif
     removeOutputFile();
 }