Fixed project planner.

master
daid 2012-07-31 17:29:58 +02:00
parent 6c296e0dfc
commit 909f476f5e
2 changed files with 2 additions and 2 deletions

View File

@ -208,7 +208,7 @@ def DrawMeshOutline(mesh):
glEnable(GL_CULL_FACE)
glEnableClientState(GL_VERTEX_ARRAY);
glVertexPointer(3, GL_FLOAT, 0, mesh.vertexes)
glCullFace(GL_FRONT)
glLineWidth(3)
glPolygonMode(GL_BACK, GL_LINE)

View File

@ -808,7 +808,7 @@ class PreviewGLCanvas(glcanvas.GLCanvas):
item.modelDirty = False
modelSize = item.getMaximum() - item.getMinimum()
glNewList(item.modelDisplayList, GL_COMPILE)
opengl.DrawSTL(item)
opengl.DrawMesh(item)
glEndList()
if item.validPlacement: