Commit 535b0d25bb87c3207acbb90d1102eb3d8a03d2fb

Authored by tatiana
1 parent f65eb283

FIX: Volume interaction when closing a project and opening a new one

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
invesalius/data/viewer_volume.py
@@ -132,7 +132,7 @@ class Viewer(wx.Panel): @@ -132,7 +132,7 @@ class Viewer(wx.Panel):
132 if self.raycasting_volume: 132 if self.raycasting_volume:
133 self.raycasting_volume = False 133 self.raycasting_volume = False
134 if self.slice_plane: 134 if self.slice_plane:
135 - self.Disable() 135 + self.slice_plane.Disable()
136 #slice_plane_...SetInteractor(self.interactor._Iren) 136 #slice_plane_...SetInteractor(self.interactor._Iren)
137 self.mouse_pressed = 0 137 self.mouse_pressed = 0
138 self.on_wl = False 138 self.on_wl = False