Commit 138dc42c95a1b3738242c33e5f327766d99d1a47

Authored by Thiago Franco de Moraes
1 parent 6fdec144

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 394 buffer_.discard_vtk_mask()
395 395 buffer_.discard_mask()
396 396 self.current_mask.clear_history()
  397 + self.current_mask.was_edited = True
397 398  
398 399 def create_temp_mask(self):
399 400 temp_file = tempfile.mktemp()
... ...