Salome HOME
projects
/
plugins
/
netgenplugin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20a307c
)
0022170: [CEA 704] Redirect NETGEN outup in a log file
author
eap
<eap@opencascade.com>
Tue, 23 Jul 2013 12:58:30 +0000
(12:58 +0000)
committer
eap
<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
patch
|
blob
|
history
diff --git
a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx
b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx
index f2ab2e21c073ab4b797d1d210decb606d9cdbe96..c84892850d3fa726dce2261f849acd7145f70bba 100644
(file)
--- 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();
}