Przeglądaj źródła

Merged in marius_stanciu/flatcam_mpl/allow_lowercase_units_in_set_sys_command (pull request #91)

Allow lowercase units in set sys command
Marius Stanciu 7 lat temu
rodzic
commit
a75c8bb6e9
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3 1
      tclCommands/TclCommandSetSys.py

+ 3 - 1
tclCommands/TclCommandSetSys.py

@@ -55,7 +55,9 @@ class TclCommandSetSys(TclCommand.TclCommand):
             "false": False,
             "False": False,
             "true": True,
-            "True": True
+            "True": True,
+            "mm": "MM",
+            "in": "IN"
         }
 
         if param in self.app.defaults: