Commit ab0a107064a7c67c7a5fce9ffa9bb2def0cfc43c

Authored by Paulo Henrique Junqueira Amorim
1 parent 04023804

ENH: Synchronize the window and level of the slice_viewer with planes from viewer_volume

Showing 1 changed file with 4 additions and 1 deletions   Show diff stats
invesalius/gui/widgets/slice_menu.py
... ... @@ -117,7 +117,10 @@ class SliceMenu(wx.Menu):
117 117 ps.Publisher().sendMessage('Update window and level text',\
118 118 "WL: %d WW: %d"%(level, window))
119 119 ps.Publisher().sendMessage('Update slice viewer')
120   -
  120 +
  121 + #Necessary update the slice plane in the volume case exists
  122 + ps.Publisher().sendMessage('Render volume viewer')
  123 +
121 124 elif(key in const.SLICE_COLOR_TABLE.keys()):
122 125 values = const.SLICE_COLOR_TABLE[key]
123 126 ps.Publisher().sendMessage('Change colour table from background image', values)
... ...