Commit 98b1b93b authored by Andrey Filippov's avatar Andrey Filippov
Browse files

bug fix

parent e71ca5a3
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -8924,8 +8924,9 @@ if (MORE_BUTTONS) {
		gd.addNumericField("Motor 3",newMotors[2],0,5,"steps ("+currentMotors[2]+")");
		gd.addMessage("Suggested rotation of the top screws, use if motor positions are out of limits - outside of +/-25,000");
		if (manualScrewsCW!=null)  for (int i=0;i<manualScrewsCW.length;i++){
			if (manualScrewsCW[i]>=0) gd.addMessage("Screw # "+(i+1)+" "+IJ.d2s(manualScrewsCW[i],3)+" (CW)");
			else                      gd.addMessage("Screw # "+(i+1)+" "+IJ.d2s(manualScrewsCW[i],3)+" (CCW)");
			double deg=360*Math.abs(manualScrewsCW[i]);
			if (manualScrewsCW[i]>=0) gd.addMessage("Screw # "+(i+1)+" "+IJ.d2s(manualScrewsCW[i],3)+" ("+IJ.d2s(deg,0)+"deg CW)");
			else                      gd.addMessage("Screw # "+(i+1)+" "+IJ.d2s(manualScrewsCW[i],3)+" ("+IJ.d2s(deg,0)+"deg CCW)");
		}
		gd.addNumericField("Scale movement",scaleMovement,3,5,"x");
        gd.addCheckbox("Recalculate and apply parallel move only",parallelMove); // should be false after manual movement