Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaid <daid303@gmail.com>2014-10-30 12:19:22 +0300
committerdaid <daid303@gmail.com>2014-10-30 12:19:22 +0300
commitc963faac71f40df27e81bc51555edcf5a3215047 (patch)
treeba7a50a2ef1a0e4855cb2588d70725cad5ccf500
parent94053e3cc6e001196c12ab5f20d64b6202ac3aa6 (diff)
Timers should only be started from the GUI thread.
-rw-r--r--Cura/gui/sceneView.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cura/gui/sceneView.py b/Cura/gui/sceneView.py
index e7d25bd937..82c11a5d28 100644
--- a/Cura/gui/sceneView.py
+++ b/Cura/gui/sceneView.py
@@ -543,7 +543,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()