diff --git a/EgtMachKernel.rc b/EgtMachKernel.rc index f250b58..471d5ce 100644 Binary files a/EgtMachKernel.rc and b/EgtMachKernel.rc differ diff --git a/MachineCalc.cpp b/MachineCalc.cpp index 687a5f3..775007d 100644 --- a/MachineCalc.cpp +++ b/MachineCalc.cpp @@ -1070,7 +1070,7 @@ Machine::GetMyAngles( const Vector3d& vtDirT, const Vector3d& vtDirA, } if ( nStat >= 1) { // se non riesco ad aggiustare, elimino - if ( ! AdjustAngleInStroke( RotAx1.stroke, dAngA1) || + if ( ( bDet1 && ! AdjustAngleInStroke( RotAx1.stroke, dAngA1)) || ( nNumRotAx == 2 && ! AdjustAngleInStroke( RotAx2.stroke, dAngB1))) { -- nStat ; // riloco eventuale soluzione rimasta