Commit a3814759 authored by Guillaume Seguin's avatar Guillaume Seguin

Fix obvious typo in GCodeAnalyzer

parent 483ae2a5
...@@ -131,7 +131,7 @@ class GCodeAnalyzer(): ...@@ -131,7 +131,7 @@ class GCodeAnalyzer():
self.zOffset = self.z - float(gline.z) self.zOffset = self.z - float(gline.z)
self.z = self.zOffset self.z = self.zOffset
if gline.e is not None: if gline.e is not None:
self.xOffset = self.e - float(gline.e) self.eOffset = self.e - float(gline.e)
self.e = self.eOffset self.e = self.eOffset
def print_status(self): def print_status(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment