active_wc_index can sometimes be set to -1. I think this is a timing issue, as it dervies this value from _status.stat.g5x_index In getActiveWcsIndex() method, it returns self._status.stat.g5x_index -1 If _status.stat.g5x_index is 0 because it's not been initialized from linuxcnc yet, then it will return -1, which breaks the views.
Add Machine EXT View for default / persistant view optin in yaml file.
ToDo Add avility to set BASE scale value for setViewMachine and/or maybe default zoom level
active_wc_index can sometimes be set to -1. I think this is a timing issue, as it dervies this value from _status.stat.g5x_index In getActiveWcsIndex() method, it returns self._status.stat.g5x_index -1 If _status.stat.g5x_index is 0 because it's not been initialized from linuxcnc yet, then it will return -1, which breaks the views.
Add Machine EXT View for default / persistant view optin in yaml file.
ToDo Add avility to set BASE scale value for setViewMachine and/or maybe default zoom level