Created
April 11, 2016 22:26
-
-
Save alexanderguy/dac912e151cffdd29268fbb73b8dbd7c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/emc/usr_intf/axis/scripts/axis.py b/src/emc/usr_intf/axis/scripts/axis.py | |
index 9611a27..0ab0de8 100755 | |
--- a/src/emc/usr_intf/axis/scripts/axis.py | |
+++ b/src/emc/usr_intf/axis/scripts/axis.py | |
@@ -2557,6 +2557,9 @@ class TclCommands(nf.TclCommands): | |
commands.set_view_z() | |
def axis_activated(*args): | |
+ if vars.current_axis.get() == "True": | |
+ vars.current_axis.set("y") | |
+ | |
if not hal_present: return # this only makes sense if HAL is present on this machine | |
comp['jog.x'] = vars.current_axis.get() == "x" | |
comp['jog.y'] = vars.current_axis.get() == "y" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment