Commit 6fa9ca3e1336d220ff16f778df55986748b3f2d9

Authored by tfmoraes
1 parent 20f5ca66

FIX: Hidding the clut raycasting widget when the raycasting is setted to off

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
invesalius/control.py
@@ -400,6 +400,7 @@ class Controller(): @@ -400,6 +400,7 @@ class Controller():
400 ps.Publisher().sendMessage('Update raycasting preset') 400 ps.Publisher().sendMessage('Update raycasting preset')
401 else: 401 else:
402 prj.Project().raycasting_preset = None 402 prj.Project().raycasting_preset = None
  403 + ps.Publisher().sendMessage('Update raycasting preset')
403 ps.Publisher().sendMessage("Hide raycasting volume") 404 ps.Publisher().sendMessage("Hide raycasting volume")
404 405
405 def SaveRaycastingPreset(self, pubsub_evt): 406 def SaveRaycastingPreset(self, pubsub_evt):