Fixed project planner.

This commit is contained in:
daid committed 2012-07-31 17:29:58 +02:00
1 parent 6c296e0dfc
commit 909f476f5e
2 files changed
+2 -2

No files matched your search

+1 -1
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)
+1 -1
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: