If the 1st line in a gcode file is empty (line break only) then it isn't fully loaded. The file displays in the editor OK but 'Loaded File:' shows 0 rows with no visualizer display and run does nothing. If I remove the blank 1st line and save the file it all works as it should. Same issue on both Classic and Platform UGS versions.
messages.log
How to reproduce
Start UGS and open gcode file.
Operating System
Linux Mint 20 & 21
Anything else
Verified issue on two PCs (one with a clean Mint & UGS install).
Version
2.0.11
Hardware / Firmware
FluidNC
What happened
If the 1st line in a gcode file is empty (line break only) then it isn't fully loaded. The file displays in the editor OK but 'Loaded File:' shows 0 rows with no visualizer display and run does nothing. If I remove the blank 1st line and save the file it all works as it should. Same issue on both Classic and Platform UGS versions. messages.log
How to reproduce
Start UGS and open gcode file.
Operating System
Linux Mint 20 & 21
Anything else
Verified issue on two PCs (one with a clean Mint & UGS install).