mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Merge branch 'master' of github.com:Ultimaker/Cura
This commit is contained in:
commit
fe8b7319f0
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