Commit 87991a2e authored by Guillaume Seguin's avatar Guillaume Seguin

Properly unbind index buffer in heavy 3D viz

parent 50a1719f
......@@ -826,6 +826,7 @@ class GcodeModel(Model):
if not layer_selected and end >= start:
self._draw_elements(start, end)
self.index_buffer.unbind()
self.vertex_buffer.unbind()
self.vertex_color_buffer.unbind()
self.vertex_normal_buffer.unbind()
......
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