Skip to content

Commit

Permalink
axis gui: don't set teleop mode in ensure_mdi()
Browse files Browse the repository at this point in the history
This fixes #96, though it may introduce other problems.  This is a proof
of concept, not a merge candidate.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
  • Loading branch information
SebKuzminsky committed Jul 15, 2016
1 parent e2f1c46 commit e714101
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/emc/usr_intf/axis/scripts/axis.py
Original file line number Diff line number Diff line change
Expand Up @@ -2372,9 +2372,7 @@ def ensure_manual(*event):
def ensure_mdi(*event):
# called from axis.tcl on tab raisecmd
if not manual_ok(): return
set_motion_teleop(0)
ensure_mode(linuxcnc.MODE_MDI)
set_motion_teleop(1)
s.poll()

def redraw(*ignored):
Expand Down

0 comments on commit e714101

Please sign in to comment.