EgtGeomKernel 1.6g8 :

- aggiornato per modifiche alla gestione delle chiavi.
This commit is contained in:
Dario Sassi
2015-07-29 07:05:32 +00:00
parent b4b996dac0
commit 0461e9b3b6
3 changed files with 9 additions and 9 deletions
+5 -5
View File
@@ -20,7 +20,7 @@
#include "NgeReader.h"
#include "NgeWriter.h"
#include "/EgtDev/Include/EGkStringUtils3d.h"
#include "/EgtDev/Include/SELkMachineId.h"
#include "/EgtDev/Include/SELkLockId.h"
#include "/EgtDev/Include/SELkKeyProc.h"
#include "/EgtDev/Include/EgtStringConverter.h"
#include "/EgtDev/Include/EgtPointerOwner.h"
@@ -382,13 +382,13 @@ GeomDB::SaveHeader( NgeWriter& ngeOut) const
if ( ! ngeOut.WriteInt( NGE_VER_LAST, ";", true))
return false ;
// MachineId del sistema come commento
string sMachineId ;
if ( ! GetMachineId( sMachineId)) {
// LockId del sistema come commento
string sLockId ;
if ( ! GetLockId( sLockId)) {
LOG_ERROR( GetEGkLogger(), "Error on Key (1)")
return false ;
}
if ( ! ngeOut.WriteRemark( "LWR=" + sMachineId))
if ( ! ngeOut.WriteRemark( "LWR=" + sLockId))
return false ;
// materiale di default come colore