Fixed project planner.
parent
6c296e0dfc
commit
909f476f5e
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue