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
void MG_Hexotic_API::GmfCloseMesh( int iMesh )
{
- if ( iMesh == 1 )
- _isMesh = false;
-
if ( _useLib ) {
#ifdef USE_MG_LIBS
return;