Do the refresh of the 3D window after drawing, this will help with issue #151

This commit is contained in:
Daid committed 2012-10-31 10:49:32 +01:00
1 parent 76ae8137f2
commit be86d34403
1 file changed
+1 -1
+1 -1
View File
@@ -555,7 +555,7 @@ class PreviewGLCanvas(glcanvas.GLCanvas):
opengl.DrawGCodeLayer(self.parent.gcode.layerList[self.gcodeDisplayListMade])
glEndList()
self.gcodeDisplayListMade += 1
self.Refresh()
wx.CallAfter(self.Refresh)
glPushMatrix()
glTranslate(self.parent.machineCenter.x, self.parent.machineCenter.y, 0)