Commit f97b48ad authored by Guillaume Seguin's avatar Guillaume Seguin

Woops, actually use that display_travel parameter

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