EgtMachKernel :

- modifiche varie per OmagCut.
This commit is contained in:
Dario Sassi
2015-09-19 08:27:21 +00:00
parent e2a7280a07
commit 41c09abe37
16 changed files with 366 additions and 8 deletions
+5 -1
View File
@@ -16,6 +16,7 @@
#include "MachMgr.h"
#include "DllMain.h"
#include "Exit.h"
#include "/EgtDev/Include/EMkToolConst.h"
#include "/EgtDev/Include/EGnStringUtils.h"
#include "/EgtDev/Include/EGnFileUtils.h"
@@ -42,7 +43,10 @@ Machine::LoadTool( const string& sHead, int nExit, const string& sTool)
if ( sTool == pExit->GetTool())
return EnableHeadInSet( sHead) ;
// verifico esistenza file utensile
string sToolFile = m_sMachineDir + "\\" + TOOLS_DIR + "\\" + sTool + ".Nge" ;
string sDraw ;
if ( ! m_pMchMgr->GetToolParam( sTool, TPA_DRAW, sDraw))
return false ;
string sToolFile = m_sMachineDir + "\\" + TOOLS_DIR + "\\" + sDraw ;
if ( ! ExistsFile( sToolFile))
return false ;
// pulisco il gruppo dell'uscita