Commit 138dc42c95a1b3738242c33e5f327766d99d1a47
1 parent
6fdec144
Exists in
master
and in
2 other branches
Setting mask as edited when the mask is cleaned
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
invesalius/data/slice_.py
@@ -394,6 +394,7 @@ class Slice(object): | @@ -394,6 +394,7 @@ class Slice(object): | ||
394 | buffer_.discard_vtk_mask() | 394 | buffer_.discard_vtk_mask() |
395 | buffer_.discard_mask() | 395 | buffer_.discard_mask() |
396 | self.current_mask.clear_history() | 396 | self.current_mask.clear_history() |
397 | + self.current_mask.was_edited = True | ||
397 | 398 | ||
398 | def create_temp_mask(self): | 399 | def create_temp_mask(self): |
399 | temp_file = tempfile.mktemp() | 400 | temp_file = tempfile.mktemp() |