Commit 299a00439b4d522619bbef6ae410991e20a914f1

Authored by tfmoraes
1 parent 73aea1ec

FIX: The problem with blend in linux

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
invesalius/data/slice_.py
... ... @@ -242,7 +242,7 @@ class Slice(object):
242 242  
243 243 (r,g,b) = colour
244 244 scalar_range = int(self.imagedata.GetScalarRange()[1])
245   - self.lut_mask.SetTableValue(1, r, g, b, 1.0)
  245 + self.lut_mask.SetTableValue(0, 0, 0, 0, 0.0)
246 246 self.lut_mask.SetTableValue(scalar_range - 1, r, g, b, 1.0)
247 247  
248 248 colour_wx = [r*255, g*255, b*255]
... ...