Fixed project planner.
This commit is contained in:
1 parent
6c296e0dfc
commit
909f476f5e
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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)
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user