Do the refresh of the 3D window after drawing, this will help with issue #151
parent
76ae8137f2
commit
be86d34403
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue