diff --git a/EgtMachKernel.rc b/EgtMachKernel.rc index 45f572e..95f7820 100644 Binary files a/EgtMachKernel.rc and b/EgtMachKernel.rc differ diff --git a/Machine.cpp b/Machine.cpp index 6398656..2c66870 100644 --- a/Machine.cpp +++ b/Machine.cpp @@ -1046,8 +1046,12 @@ Machine::ModifyMachineExitPosition( const string& sHead, int nExit, const Point3 if ( pExit == nullptr) return false ; // eseguo la modifica + Point3d ptOrigPos = pExit->GetPos() ; if ( ! pExit->Modify( ptPos, m_dExitMaxAdjust)) return false ; + // ripeto modifica su frame speciale "_T" + N + int nSpecFrId = m_pGeomDB->GetFirstNameInGroup( nHeadId, "_T" + ToString( nExit)) ; + m_pGeomDB->Translate( nSpecFrId, ptPos - ptOrigPos) ; // eventuale aggiornamento variabile lua EMC.EXITPOS con la nuova posizione LuaSetGlobVar( "EMC.EXITPOS", ptPos) ; return true ;