EgtExecutor :

- corretto errore in CreateSurfTmByExtrusion di Exe e Lua se mancano curve di partenza
- modifiche gestione chiave di protezione.
This commit is contained in:
Dario Sassi
2016-07-13 19:31:17 +00:00
parent f63ced2df2
commit 5600784d54
2 changed files with 11 additions and 5 deletions
+10
View File
@@ -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)