EgtMachKernel 1.8d2 :

- in simulazione OnToolSelect ora imposta correttamente EMT.TCPOS.
This commit is contained in:
Dario Sassi
2017-04-11 16:01:48 +00:00
parent e9908f6ce4
commit 0cd13215a9
3 changed files with 3 additions and 3 deletions
+2 -1
View File
@@ -834,7 +834,8 @@ Simulator::OnToolSelect( const string& sTool, const string& sHead, int nExit, co
// assegno il nome dell'utensile, la testa e l'uscita
if ( ! m_pMachine->LuaSetGlobVar( GLOB_VAR + GVAR_TOOL, sTool) ||
! m_pMachine->LuaSetGlobVar( GLOB_VAR + GVAR_HEAD, sHead) ||
! m_pMachine->LuaSetGlobVar( GLOB_VAR + GVAR_EXIT, nExit))
! m_pMachine->LuaSetGlobVar( GLOB_VAR + GVAR_EXIT, nExit) ||
! m_pMachine->LuaSetGlobVar( GLOB_VAR + GVAR_TCPOS, sTcPos))
return false ;
// assegno il token e il nome degli assi
int nNumAxes = int( m_AxesName.size()) ;