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") |