EgtGeomKernel 1.5i4 :

- tolto controllo antidebug da release per VB.NET
- aggiunti metodi CurveArc::Set2PNRS e SetC2PN
- aggiunta scrittura MachineId come commento in NGE di testo.
This commit is contained in:
Dario Sassi
2014-09-18 14:56:47 +00:00
parent ffd9f0c1bd
commit 46fb7bd5f4
7 changed files with 79 additions and 6 deletions
+10
View File
@@ -23,6 +23,7 @@
#include "/EgtDev/Include/EGkStringUtils3d.h"
#include "/EgtDev/Include/EgnStringConverter.h"
#include "/EgtDev/Include/EgtPointerOwner.h"
#include "/EgtDev/Include/SELkMachineId.h"
#include "/EgtDev/Include/SELkKeyProc.h"
#include <new>
@@ -257,6 +258,15 @@ GeomDB::SaveHeader( NgeWriter& ngeOut) const
if ( ! ngeOut.WriteInt( NGE_VER_LAST, ";", true))
return false ;
// MachineId del sistema come commento
string sMachineId ;
if ( ! GetMachineId( sMachineId)) {
LOG_ERROR( GetEGkLogger(), "Error on Key (1)")
return false ;
}
if ( ! ngeOut.WriteRemark( "LWR=" + sMachineId))
return false ;
// materiale di default come colore
Color colDef( 0, 0, 0, 0) ;
GetDefaultMaterial( colDef) ;