From fbf92d2b94813df14140236c50e84fb3b55ad388 Mon Sep 17 00:00:00 2001 From: daid Date: Tue, 29 Apr 2014 10:34:09 +0200 Subject: [PATCH] Possible fix for http://umforum.ultimaker.com/index.php?/topic/5460-the-end-of-my-netbook-since-cura-1403/ --- Cura/gui/util/openglHelpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.30.2