chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4aa6374
)
Update on the fallback support, proper colors now.
author
daid
<daid303@gmail.com>
Mon, 17 Jun 2013 07:39:17 +0000
(09:39 +0200)
committer
daid
<daid303@gmail.com>
Mon, 17 Jun 2013 07:39:17 +0000
(09:39 +0200)
Cura/gui/util/opengl.py
patch
|
blob
|
history
diff --git
a/Cura/gui/util/opengl.py
b/Cura/gui/util/opengl.py
index feebf09317eec6356e6dca6c4994a1762f8c8f07..048f25e2df03db8dc00dd01b7290d9e3d5c20c2d 100644
(file)
--- 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)