chiark / gitweb /
Fix the GCode rendering bug.
authordaid303 <daid303@gmail.com>
Tue, 23 Apr 2013 10:01:59 +0000 (12:01 +0200)
committerdaid303 <daid303@gmail.com>
Tue, 23 Apr 2013 10:01:59 +0000 (12:01 +0200)
Cura/gui/util/opengl.py

index ae9b64f17c04f6106c7d38d65ad4f959b83099bb..a3ed6bd2d3479394132a033fa94e9ec5e0bb1c2f 100644 (file)
@@ -101,7 +101,7 @@ class GLVBO(GLReferenceCounter):
                else:
                        glVertexPointer(3, GL_FLOAT, 3*4, c_void_p(0))
 
-               batchSize = 1002    #Warning, batchSize needs to be dividable by 3 and 2
+               batchSize = 996    #Warning, batchSize needs to be dividable by 4, 3 and 2
                extraStartPos = int(self._size / batchSize) * batchSize
                extraCount = self._size - extraStartPos