Commit 4cea1d318c83d8333d5d3ab116cfe7450fd7db59

Authored by tfmoraes
1 parent 5e9fa61d

FIX: Showing the window level in the right scale

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
invesalius/data/volume.py
... ... @@ -303,7 +303,7 @@ class Volume():
303 303 l2 = wl + ww/2.0
304 304  
305 305 self.ww = ww
306   - self.wl = wl
  306 + self.wl = self.config['wl']
307 307  
308 308 opacity_transfer_func.RemoveAllPoints()
309 309 opacity_transfer_func.AddSegment(0, 0, 2**16-1, 0)
... ...