From: daid Date: Tue, 29 Apr 2014 08:34:09 +0000 (+0200) Subject: Possible fix for http://umforum.ultimaker.com/index.php?/topic/5460-the-end-of-my... X-Git-Tag: 14.06~28 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=fbf92d2b94813df14140236c50e84fb3b55ad388;p=cura.git Possible fix for umforum.ultimaker.com/index.php?/topic/5460-the-end-of-my-netbook-since-cura-1403/ --- diff --git a/Cura/gui/util/openglHelpers.py b/Cura/gui/util/openglHelpers.py index 2b110094..6cbf1820 100644 --- a/Cura/gui/util/openglHelpers.py +++ b/Cura/gui/util/openglHelpers.py @@ -194,8 +194,8 @@ class GLVBO(GLReferenceCounter): if self._buffer is not None: glBindBuffer(GL_ARRAY_BUFFER, 0) - if self._hasIndices: - glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0) + if self._hasIndices: + glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0) glDisableClientState(GL_VERTEX_ARRAY) if self._hasNormals: