Commit 7559b4dfb73e68b0391791e31ee9954727c28fbc
1 parent
aad7db1b
Exists in
master
and in
6 other branches
FIX: Problem in Close project in the Menu and Close the InVesalius, occurred "Run time error"
Showing
1 changed file
with
0 additions
and
1 deletions
Show diff stats
invesalius/data/viewer_slice.py
@@ -844,7 +844,6 @@ class Viewer(wx.Panel): | @@ -844,7 +844,6 @@ class Viewer(wx.Panel): | ||
844 | 844 | ||
845 | def CloseProject(self): | 845 | def CloseProject(self): |
846 | for slice_data in self.slice_data_list: | 846 | for slice_data in self.slice_data_list: |
847 | - self.interactor.GetRenderWindow().RemoveRenderer(slice_data.renderer) | ||
848 | del slice_data | 847 | del slice_data |
849 | 848 | ||
850 | self.modes = []#['DEFAULT'] | 849 | self.modes = []#['DEFAULT'] |