EgtMachKernel 1.6l2 :
- possibile rendere corrente testa con utensile nullo (per laser e simili).
This commit is contained in:
@@ -467,6 +467,11 @@ ToolsMgr::VerifyTool( int nFamily, string& sName, int& nType) const
|
||||
bool
|
||||
ToolsMgr::SetCurrTool( const std::string& sName)
|
||||
{
|
||||
// se nome vuoto, faccio reset
|
||||
if ( sName.empty()) {
|
||||
m_bCurrTool = false ;
|
||||
return false ;
|
||||
}
|
||||
// recupero i dati dell'utensile
|
||||
const ToolData* ptData = GetTool( sName) ;
|
||||
if ( ptData == nullptr) {
|
||||
|
||||
Reference in New Issue
Block a user