Commit 44ac2405 authored by Guillaume Seguin's avatar Guillaume Seguin

Fix translations in gcodeplater

parent e1af9b43
...@@ -94,9 +94,9 @@ class GcodePlater(Plater): ...@@ -94,9 +94,9 @@ class GcodePlater(Plater):
for i in xrange(len(model.gcode) - 1, -1, -1): for i in xrange(len(model.gcode) - 1, -1, -1):
if model.gcode.lines[i].is_move: if model.gcode.lines[i].is_move:
gline = model.gcode.lines[i] gline = model.gcode.lines[i]
last_real_position = [trans[0] + gline.current_x, last_real_position = [- trans[0] + gline.current_x,
trans[1] + gline.current_y, - trans[1] + gline.current_y,
trans[2] + gline.current_z] - trans[2] + gline.current_z]
break break
print _("Exported merged G-Codes to %s") % name print _("Exported merged G-Codes to %s") % name
......
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