From 8a232033626c3bbe6350583771ade7a4f06ca1c2 Mon Sep 17 00:00:00 2001 From: Thiago Franco de Moraes Date: Tue, 13 Sep 2016 11:23:21 -0300 Subject: [PATCH] It was calling ffill segmentation 2 times --- invesalius/data/styles.py | 10 ---------- 1 file changed, 0 insertions(+), 10 deletions(-) diff --git a/invesalius/data/styles.py b/invesalius/data/styles.py index 980d607..d266964 100644 --- a/invesalius/data/styles.py +++ b/invesalius/data/styles.py @@ -1917,16 +1917,6 @@ class FloodFillSegmentInteractorStyle(DefaultInteractorStyle): if self.config.target == "3D": self.do_3d_seg() - with futures.ThreadPoolExecutor(max_workers=1) as executor: - future = executor.submit(self.do_3d_seg) - - dlg = wx.ProgressDialog(self._progr_title, self._progr_msg, parent=None, style=wx.PD_APP_MODAL) - while not future.done(): - dlg.Pulse() - time.sleep(0.1) - - dlg.Destroy() - else: self.do_2d_seg() -- libgit2 0.21.2