diff --git a/invesalius/data/viewer_slice.py b/invesalius/data/viewer_slice.py index 48df9b8..992e25a 100755 --- a/invesalius/data/viewer_slice.py +++ b/invesalius/data/viewer_slice.py @@ -1333,6 +1333,7 @@ class Viewer(wx.Panel): except KeyError: for actor in actors: self.actors_by_slice_number[n].remove(actor) + self.slice_data.renderer.RemoveActor(actor) else: for actor in actors: # Remove the actor from the renderer -- libgit2 0.21.2