chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76ae813
)
Do the refresh of the 3D window after drawing, this will help with issue #151
author
Daid
<Daid303@gmail.com>
Wed, 31 Oct 2012 09:49:32 +0000
(10:49 +0100)
committer
Daid
<Daid303@gmail.com>
Wed, 31 Oct 2012 09:49:32 +0000
(10:49 +0100)
Cura/gui/preview3d.py
patch
|
blob
|
history
diff --git
a/Cura/gui/preview3d.py
b/Cura/gui/preview3d.py
index 889a0d8330fa603aa56e634c48fc181bdb5963ce..c46fac73e97240931d32abb7e89e73947c9c1d9e 100644
(file)
--- a/
Cura/gui/preview3d.py
+++ b/
Cura/gui/preview3d.py
@@
-555,7
+555,7
@@
class PreviewGLCanvas(glcanvas.GLCanvas):
opengl.DrawGCodeLayer(self.parent.gcode.layerList[self.gcodeDisplayListMade])
\r
glEndList()
\r
self.gcodeDisplayListMade += 1
\r
-
self.Refresh(
)
\r
+
wx.CallAfter(self.Refresh
)
\r
\r
glPushMatrix()
\r
glTranslate(self.parent.machineCenter.x, self.parent.machineCenter.y, 0)
\r