From 299a00439b4d522619bbef6ae410991e20a914f1 Mon Sep 17 00:00:00 2001 From: tfmoraes Date: Mon, 16 Aug 2010 19:54:24 +0000 Subject: [PATCH] FIX: The problem with blend in linux --- invesalius/data/slice_.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invesalius/data/slice_.py b/invesalius/data/slice_.py index c7ebefe..0d76854 100644 --- a/invesalius/data/slice_.py +++ b/invesalius/data/slice_.py @@ -242,7 +242,7 @@ class Slice(object): (r,g,b) = colour scalar_range = int(self.imagedata.GetScalarRange()[1]) - self.lut_mask.SetTableValue(1, r, g, b, 1.0) + self.lut_mask.SetTableValue(0, 0, 0, 0, 0.0) self.lut_mask.SetTableValue(scalar_range - 1, r, g, b, 1.0) colour_wx = [r*255, g*255, b*255] -- libgit2 0.21.2