Commit a6df2a28 authored by Guillaume Seguin's avatar Guillaume Seguin

Fix "printed until" display

parent f35289b7
......@@ -349,7 +349,7 @@ class GcodeModel(Model):
self.vertex_color_buffer.bind()
glColorPointer(4, GL_FLOAT, 0, None)
start = self.printed_until + 1
start = self.printed_until
end = end - start
if end > 0:
glDrawArrays(GL_LINES, start, end)
......
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