Do the refresh of the 3D window after drawing, this will help with issue #151
This commit is contained in:
1 parent
76ae8137f2
commit
be86d34403
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user