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:
+10
@@ -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) ;
|
||||
|
||||
Reference in New Issue
Block a user