EgtMachKernel :
- modifiche varie per OmagCut.
This commit is contained in:
+5
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user