From fd12b4682de13ea01f5e76459cd227a85d0ea1d2 Mon Sep 17 00:00:00 2001 From: tatiana Date: Thu, 24 Sep 2009 17:35:57 +0000 Subject: [PATCH] FIX: Raycasting 'loop' problem under OSX --- invesalius/constants.py | 2 +- invesalius/gui/default_viewers.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/invesalius/constants.py b/invesalius/constants.py index 1981d5e..8ff7db8 100644 --- a/invesalius/constants.py +++ b/invesalius/constants.py @@ -161,7 +161,7 @@ WINDOW_LEVEL = {"Abdomen":(350,50), "Vasculature - Hard":(240,80), "Vasculature - Soft":(650,160)} -REDUCE_IMAGEDATA_QUALITY = 0 +REDUCE_IMAGEDATA_QUALITY = 1 # if 1, use vtkVolumeRaycastMapper, if 0, use vtkFixedPointVolumeRayCastMapper TYPE_RAYCASTING_MAPPER = 0 diff --git a/invesalius/gui/default_viewers.py b/invesalius/gui/default_viewers.py index b79e54c..d69d7ac 100755 --- a/invesalius/gui/default_viewers.py +++ b/invesalius/gui/default_viewers.py @@ -483,7 +483,6 @@ class VolumeToolPanel(wx.Panel): def OnMenuRaycasting(self, evt): """Events from raycasting menu.""" id = evt.GetId() - evt.Skip() if id in ID_TO_NAME.keys(): # Raycassting type was selected name = ID_TO_NAME[id] -- libgit2 0.21.2