Salome HOME
projects
/
plugins
/
ghs3dplugin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60c7993
)
Skip key in case of old style MG
V9_9_0a1
V9_9_0a2
V9_9_0b1
author
Anthony Geay
<anthony.geay@edf.fr>
Thu, 10 Feb 2022 17:17:23 +0000
(18:17 +0100)
committer
Anthony Geay
<anthony.geay@edf.fr>
Fri, 11 Feb 2022 12:23:56 +0000
(13:23 +0100)
src/GHS3DPlugin/MG_Tetra_API.cxx
patch
|
blob
|
history
diff --git
a/src/GHS3DPlugin/MG_Tetra_API.cxx
b/src/GHS3DPlugin/MG_Tetra_API.cxx
index 93eb485448b783e8d7be47558c0134f1fdd74ee9..9bf3892bf69ab649d4f68b25439110a7e8086cb9 100644
(file)
--- a/
src/GHS3DPlugin/MG_Tetra_API.cxx
+++ b/
src/GHS3DPlugin/MG_Tetra_API.cxx
@@
-839,7
+839,8
@@
bool MG_Tetra_API::Compute( const std::string& cmdLine, std::string& errStr )
return false;
}
- const_cast< std::string& >( cmdLine ) += " --key " + key;
+ if ( key != "0")
+ const_cast< std::string& >( cmdLine ) += " --key " + key;
}
int err = system( cmdLine.c_str() ); // run