diff --git a/invesalius/data/styles.py b/invesalius/data/styles.py index 30ac54b..ae7d18a 100644 --- a/invesalius/data/styles.py +++ b/invesalius/data/styles.py @@ -1898,7 +1898,9 @@ class FloodFillSegmentInteractorStyle(DefaultInteractorStyle): mask = self.viewer.slice_.current_mask.matrix[1:, 1:, 1:] image = self.viewer.slice_.matrix - if mask[z, y, x] < self.config.t0 or mask[z, y, x] > self.config.t1: + print image[z, y, x] + + if image[z, y, x] < self.config.t0 or image[z, y, x] > self.config.t1: return if self.config.target == "3D": diff --git a/invesalius/gui/widgets/gradient.py b/invesalius/gui/widgets/gradient.py index 9f4fc30..e93dd95 100755 --- a/invesalius/gui/widgets/gradient.py +++ b/invesalius/gui/widgets/gradient.py @@ -493,7 +493,6 @@ class GradientCtrl(wx.Panel): return self.minimun def _GenerateEvent(self, event): - print "GEN" if event == myEVT_THRESHOLD_CHANGING: self.changed = True elif event == myEVT_THRESHOLD_CHANGED : -- libgit2 0.21.2