From: Anthony Geay Date: Fri, 11 Feb 2022 07:31:29 +0000 (+0100) Subject: Management of <2.13 MeshGems version X-Git-Tag: V9_9_0a1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5f0d9f42f55f6a95eaf8c427e371d160fcb3174e;p=plugins%2Fhybridplugin.git Management of <2.13 MeshGems version --- diff --git a/src/HYBRIDPlugin/MG_HYBRID_API.cxx b/src/HYBRIDPlugin/MG_HYBRID_API.cxx index c656b34..9addf43 100644 --- a/src/HYBRIDPlugin/MG_HYBRID_API.cxx +++ b/src/HYBRIDPlugin/MG_HYBRID_API.cxx @@ -873,8 +873,8 @@ bool MG_HYBRID_API::Compute( const std::string& cmdLine, std::string& errStr ) 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