EgtMachKernel 2.2f7 :

- ammessi disegni custom per tutti i tipi di utensili.
This commit is contained in:
Dario Sassi
2020-06-18 18:18:36 +00:00
parent e232e38bd4
commit 56d544b78b
2 changed files with 3 additions and 3 deletions
+3 -3
View File
@@ -707,9 +707,9 @@ MachMgr::UpdateCustomToolDraw( const ToolData* pTdata, int nGenCtx, int nToolCtx
pTdata->GetParam( TPA_LEN, dLen) ;
double dDiam = 0 ;
pTdata->GetParam( TPA_DIAM, dDiam) ;
// Solo per frese
if ( nType != TT_MILL_STD && nType != TT_MILL_NOTIP && nType != TT_MILL_POLISHING)
return TD_INT_ERR ;
// Non più limitato alle sole frese
//if ( nType != TT_MILL_STD && nType != TT_MILL_NOTIP && nType != TT_MILL_POLISHING)
// return TD_INT_ERR ;
// Imposto contesto per il disegno utensile
if ( ! ExeSetCurrentContext( nToolCtx))
return TD_INT_ERR ;