diff --git a/Cura/gui/opengl.py b/Cura/gui/opengl.py index bf89bf8..fd62326 100644 --- a/Cura/gui/opengl.py +++ b/Cura/gui/opengl.py @@ -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) diff --git a/Cura/gui/projectPlanner.py b/Cura/gui/projectPlanner.py index fa01ff7..954b001 100644 --- a/Cura/gui/projectPlanner.py +++ b/Cura/gui/projectPlanner.py @@ -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: