Commit 8a232033626c3bbe6350583771ade7a4f06ca1c2
1 parent
16a1bfd7
Exists in
master
and in
18 other branches
It was calling ffill segmentation 2 times
Showing
1 changed file
with
0 additions
and
10 deletions
Show diff stats
invesalius/data/styles.py
... | ... | @@ -1917,16 +1917,6 @@ class FloodFillSegmentInteractorStyle(DefaultInteractorStyle): |
1917 | 1917 | |
1918 | 1918 | if self.config.target == "3D": |
1919 | 1919 | self.do_3d_seg() |
1920 | - with futures.ThreadPoolExecutor(max_workers=1) as executor: | |
1921 | - future = executor.submit(self.do_3d_seg) | |
1922 | - | |
1923 | - dlg = wx.ProgressDialog(self._progr_title, self._progr_msg, parent=None, style=wx.PD_APP_MODAL) | |
1924 | - while not future.done(): | |
1925 | - dlg.Pulse() | |
1926 | - time.sleep(0.1) | |
1927 | - | |
1928 | - dlg.Destroy() | |
1929 | - | |
1930 | 1920 | else: |
1931 | 1921 | self.do_2d_seg() |
1932 | 1922 | ... | ... |