EgtMachKernel :

- aggiunta in interfaccia funzione ChangePreviewMachiningToolShow.
This commit is contained in:
Dario Sassi
2026-03-03 18:33:50 +01:00
parent 3b2b185fd1
commit b88c276bb0
2 changed files with 17 additions and 0 deletions
+16
View File
@@ -1106,6 +1106,22 @@ MachMgr::MachiningUpdate( bool bPostApply)
return pMch->Update( bPostApply) ;
}
//----------------------------------------------------------------------------
bool
MachMgr::ChangePreviewMachiningToolShow( int nLookFlag)
{
// recupero la lavorazione corrente
int nCurrMchId = GetCurrMachining() ;
if ( nCurrMchId == GDB_ID_NULL)
return false ;
// ne recupero il gestore
Machining* pMch = GetMachining( m_pGeomDB->GetUserObj( nCurrMchId)) ;
if ( pMch == nullptr)
return false ;
// eseguo
return pMch->ChangeToolPreviewShow( nLookFlag) ;
}
//----------------------------------------------------------------------------
bool
MachMgr::PreparePreviewMachiningTool( void) const