Commit bdc81aa6602e18d64b16b72fd19cb8fc0d7165a5
1 parent
64f04006
Exists in
ff_mask
An error on the connectivity struct 3D
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
invesalius/data/styles.py
... | ... | @@ -1806,7 +1806,7 @@ class FloodFillMaskInteractorStyle(DefaultInteractorStyle): |
1806 | 1806 | x, y, z = self.calcultate_scroll_position(position) |
1807 | 1807 | |
1808 | 1808 | if self.config.target == "3D": |
1809 | - bstruct = np.array(generate_binary_structure(3, CON3D[self.config.con_3d], dtype='uint8')) | |
1809 | + bstruct = np.array(generate_binary_structure(3, CON3D[self.config.con_3d]), dtype='uint8') | |
1810 | 1810 | self.viewer.slice_.do_threshold_to_all_slices() |
1811 | 1811 | else: |
1812 | 1812 | _bstruct = generate_binary_structure(2, CON2D[self.config.con_2d]) | ... | ... |