Commit f97b48ad authored by Guillaume Seguin's avatar Guillaume Seguin

Woops, actually use that display_travel parameter

parent 43ee4cdb
......@@ -562,7 +562,8 @@ class GcodeModel(Model):
glEnableClientState(GL_NORMAL_ARRAY)
has_vbo = isinstance(self.vertex_buffer, VertexBufferObject)
self._display_travels(has_vbo)
if self.display_travels:
self._display_travels(has_vbo)
glEnable(GL_LIGHTING)
glEnableClientState(GL_COLOR_ARRAY)
......
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