mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Fixed UMO g-code files not being loadable
The processGcode did not take gcode + comments in the same line into account CURA-3677
This commit is contained in:
parent
5de3b4614f
commit
558b446b4a
1 changed files with 1 additions and 0 deletions
|
@ -179,6 +179,7 @@ class GCodeReader(MeshReader):
|
|||
|
||||
def _processGCode(self, G, line, position, path):
|
||||
func = getattr(self, "_gCode%s" % G, None)
|
||||
line = line.split(";", 1)[0] # Remove comments (if any)
|
||||
if func is not None:
|
||||
s = line.upper().split(" ")
|
||||
x, y, z, e = None, None, None, None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue