Commit 525d68ff2a6bc9d6b2555790191a0287a5620652
1 parent
10739323
Exists in
select_part
Not setting new mask as current in task_slice
Showing
2 changed files
with
6 additions
and
6 deletions
Show diff stats
invesalius/data/viewer_slice.py
@@ -1085,8 +1085,8 @@ class Viewer(wx.Panel): | @@ -1085,8 +1085,8 @@ class Viewer(wx.Panel): | ||
1085 | Publisher.subscribe(self.Navigation, | 1085 | Publisher.subscribe(self.Navigation, |
1086 | 'Co-registered Points') | 1086 | 'Co-registered Points') |
1087 | ### | 1087 | ### |
1088 | - Publisher.subscribe(self.ChangeBrushColour, | ||
1089 | - 'Add mask') | 1088 | + # Publisher.subscribe(self.ChangeBrushColour, |
1089 | + # 'Add mask') | ||
1090 | 1090 | ||
1091 | Publisher.subscribe(self.UpdateWindowLevelValue, | 1091 | Publisher.subscribe(self.UpdateWindowLevelValue, |
1092 | 'Update window level value') | 1092 | 'Update window level value') |
invesalius/gui/task_slice.py
@@ -562,10 +562,10 @@ class MaskProperties(wx.Panel): | @@ -562,10 +562,10 @@ class MaskProperties(wx.Panel): | ||
562 | mask_thresh = evt_pubsub.data[2] | 562 | mask_thresh = evt_pubsub.data[2] |
563 | mask_colour = [int(c*255) for c in evt_pubsub.data[3]] | 563 | mask_colour = [int(c*255) for c in evt_pubsub.data[3]] |
564 | index = self.combo_mask_name.Append(mask_name) | 564 | index = self.combo_mask_name.Append(mask_name) |
565 | - self.combo_mask_name.SetSelection(index) | ||
566 | - self.button_colour.SetColour(mask_colour) | ||
567 | - self.gradient.SetColour(mask_colour) | ||
568 | - self.combo_mask_name.SetSelection(index) | 565 | + # self.combo_mask_name.SetSelection(index) |
566 | + # self.button_colour.SetColour(mask_colour) | ||
567 | + # self.gradient.SetColour(mask_colour) | ||
568 | + # self.combo_mask_name.SetSelection(index) | ||
569 | 569 | ||
570 | def GetMaskSelected(self): | 570 | def GetMaskSelected(self): |
571 | x = self.combo_mask_name.GetSelection() | 571 | x = self.combo_mask_name.GetSelection() |