From 28bc199d13c94a231dd38cc6b9d5b27407cc37f8 Mon Sep 17 00:00:00 2001 From: tfmoraes Date: Fri, 14 Sep 2012 13:27:58 +0000 Subject: [PATCH] FIX: The name setted by the user was not being used in a new mask --- invesalius/data/slice_.py | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/invesalius/data/slice_.py b/invesalius/data/slice_.py index 23fa6fb..14d0472 100644 --- a/invesalius/data/slice_.py +++ b/invesalius/data/slice_.py @@ -744,6 +744,8 @@ class Slice(object): future_mask = Mask() future_mask.create_mask(self.matrix.shape) + if name: + future_mask.name = name if colour: future_mask.colour = colour if opacity: -- libgit2 0.21.2