Commit 58735f2d authored by lode_leroy's avatar lode_leroy

fix glutInit bug

git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@41 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 469c97a9
......@@ -22,6 +22,7 @@ from pycam.Exporters import *
class OpenglWidget(Opengl):
def __init__(self, master=None, cnf={}, **kw):
Opengl.__init__(self, master, kw)
glutInit()
glShadeModel(GL_FLAT)
# glShadeModel(GL_SMOOTH)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment