From fd4d19bf8dd04a978a6cad4d89949f3c08a1cd78 Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Sun, 31 Dec 2017 22:28:43 -0500 Subject: [PATCH] don't start outdated simulation --- embroider_params.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embroider_params.py b/embroider_params.py index 8300cbc24..ffd9d53ae 100644 --- a/embroider_params.py +++ b/embroider_params.py @@ -388,7 +388,7 @@ class SettingsFrame(wx.Frame): def update_patches(self): patches = self.generate_patches() - if patches: + if patches and not self.simulate_refresh_needed.is_set(): wx.CallAfter(self.refresh_simulator, patches) def refresh_simulator(self, patches):