From: daid Date: Mon, 17 Jun 2013 07:39:17 +0000 (+0200) Subject: Update on the fallback support, proper colors now. X-Git-Tag: 13.06.2~6 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=baf4d204627efaf2fa56997fb7326706e069e81b;p=cura.git Update on the fallback support, proper colors now. --- diff --git a/Cura/gui/util/opengl.py b/Cura/gui/util/opengl.py index feebf093..048f25e2 100644 --- a/Cura/gui/util/opengl.py +++ b/Cura/gui/util/opengl.py @@ -94,8 +94,9 @@ class GLFakeShader(GLReferenceCounter): glEnable(GL_LIGHTING) glEnable(GL_LIGHT0) glEnable(GL_COLOR_MATERIAL) - glLightfv(GL_LIGHT0, GL_DIFFUSE, [0.3,0.3,0.3,1]) + glLightfv(GL_LIGHT0, GL_DIFFUSE, [1,1,1,1]) glLightfv(GL_LIGHT0, GL_AMBIENT, [0,0,0,0]) + glLightfv(GL_LIGHT0, GL_SPECULAR, [0,0,0,0]) def unbind(self): glDisable(GL_LIGHTING)