Commit 6808745fb180461ca9be4b1d12a192457ddffce0

Authored by Thiago Franco de Moraes
1 parent c8312e17

Not showing a hidden surface when selected in the combobox

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
invesalius/data/surface.py
... ... @@ -329,7 +329,8 @@ class SurfaceManager():
329 329 surface.colour, surface.volume,
330 330 surface.transparency))
331 331 self.last_surface_index = index
332   - self.ShowActor(index, True)
  332 + if surface.is_shown:
  333 + self.ShowActor(index, True)
333 334  
334 335 def OnLoadSurfaceDict(self, pubsub_evt):
335 336 surface_dict = pubsub_evt.data
... ...