Salome HOME
projects
/
plugins
/
hexoticplugin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e38783c
)
Deal with old MG suite
V9_9_0a1
V9_9_0a2
V9_9_0b1
author
Anthony Geay
<anthony.geay@edf.fr>
Fri, 11 Feb 2022 07:19:44 +0000
(08:19 +0100)
committer
Anthony Geay
<anthony.geay@edf.fr>
Fri, 11 Feb 2022 12:25:43 +0000
(13:25 +0100)
src/HexoticPlugin/MG_Hexotic_API.cxx
patch
|
blob
|
history
diff --git
a/src/HexoticPlugin/MG_Hexotic_API.cxx
b/src/HexoticPlugin/MG_Hexotic_API.cxx
index 155f9dba3c5eb20bed06a85d4ac5f8d36802f53d..36f7a7d5973a28dfd7f5dff9a21ae704e96e3487 100644
(file)
--- a/
src/HexoticPlugin/MG_Hexotic_API.cxx
+++ b/
src/HexoticPlugin/MG_Hexotic_API.cxx
@@
-844,8
+844,9
@@
bool MG_Hexotic_API::Compute( const std::string& cmdLine, std::string& errStr )
errStr = "Problem with library SalomeMeshGemsKeyGenerator: " + errorTxt;
return false;
}
errStr = "Problem with library SalomeMeshGemsKeyGenerator: " + errorTxt;
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
}
int err = system( cmdLine.c_str() ); // run