diff options
author | daid <daid303@gmail.com> | 2014-10-30 12:19:22 +0300 |
---|---|---|
committer | Youness Alaoui <kakaroto@kakaroto.homelinux.net> | 2015-01-14 20:11:01 +0300 |
commit | 34af6e2feba1bec2ac15a3685154ae13d3d96630 (patch) | |
tree | 24c3a6cc56a17f93737af60680bed129b0b9a2ac /Cura/gui/sceneView.py | |
parent | 84954c8e7d9882611479afa16a90fb1ec5cdeb9d (diff) |
Timers should only be started from the GUI thread.
Diffstat (limited to 'Cura/gui/sceneView.py')
-rw-r--r-- | Cura/gui/sceneView.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Cura/gui/sceneView.py b/Cura/gui/sceneView.py index b46b4c54c7..635911d573 100644 --- a/Cura/gui/sceneView.py +++ b/Cura/gui/sceneView.py @@ -546,7 +546,7 @@ class SceneView(openglGui.glGuiPanel): self.sceneUpdated() def sceneUpdated(self): - self._sceneUpdateTimer.Start(500, True) + wx.CallAfter(self._sceneUpdateTimer.Start, 500, True) self._engine.abortEngine() self._scene.updateSizeOffsets() self.QueueRefresh() |