EgtExecutor :
- corretto errore in CreateSurfTmByExtrusion di Exe e Lua se mancano curve di partenza - modifiche gestione chiave di protezione.
This commit is contained in:
@@ -40,6 +40,7 @@ static Logger* s_pGenLog = nullptr ;
|
||||
static bool s_bCmdLog = false ;
|
||||
static Logger* s_pCmdLog = nullptr ;
|
||||
static string s_sKey ;
|
||||
static int s_nKeyType = KEY_LOCK_TYPE_ANY ;
|
||||
static pfProcEvents s_pFunProcEvents = nullptr ;
|
||||
static pfOutText s_pFunOutText = nullptr ;
|
||||
|
||||
@@ -75,6 +76,7 @@ ExeInit( int nDebug, const string& sLogFile, const string& sLogMsg)
|
||||
LOG_INFO( s_pGenLog, sVer.c_str())
|
||||
|
||||
// imposto la chiave di protezione sulle librerie di base
|
||||
SetEGkKeyType( s_nKeyType) ;
|
||||
SetEGkKey( s_sKey) ;
|
||||
|
||||
// carico libreria grafica opzionale
|
||||
@@ -163,6 +165,14 @@ ExeSetKey( const string& sKey)
|
||||
return true ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeSetLockType( int nType)
|
||||
{
|
||||
s_nKeyType = nType ;
|
||||
return SetLockType( nType) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeSetFont( const string& sNfeFontDir, const string& sDefaultFont)
|
||||
|
||||
Reference in New Issue
Block a user