Commit fd12b4682de13ea01f5e76459cd227a85d0ea1d2
1 parent
bca521dd
Exists in
master
and in
68 other branches
FIX: Raycasting 'loop' problem under OSX
Showing
2 changed files
with
1 additions
and
2 deletions
Show diff stats
invesalius/constants.py
@@ -161,7 +161,7 @@ WINDOW_LEVEL = {"Abdomen":(350,50), | @@ -161,7 +161,7 @@ WINDOW_LEVEL = {"Abdomen":(350,50), | ||
161 | "Vasculature - Hard":(240,80), | 161 | "Vasculature - Hard":(240,80), |
162 | "Vasculature - Soft":(650,160)} | 162 | "Vasculature - Soft":(650,160)} |
163 | 163 | ||
164 | -REDUCE_IMAGEDATA_QUALITY = 0 | 164 | +REDUCE_IMAGEDATA_QUALITY = 1 |
165 | 165 | ||
166 | # if 1, use vtkVolumeRaycastMapper, if 0, use vtkFixedPointVolumeRayCastMapper | 166 | # if 1, use vtkVolumeRaycastMapper, if 0, use vtkFixedPointVolumeRayCastMapper |
167 | TYPE_RAYCASTING_MAPPER = 0 | 167 | TYPE_RAYCASTING_MAPPER = 0 |
invesalius/gui/default_viewers.py
@@ -483,7 +483,6 @@ class VolumeToolPanel(wx.Panel): | @@ -483,7 +483,6 @@ class VolumeToolPanel(wx.Panel): | ||
483 | def OnMenuRaycasting(self, evt): | 483 | def OnMenuRaycasting(self, evt): |
484 | """Events from raycasting menu.""" | 484 | """Events from raycasting menu.""" |
485 | id = evt.GetId() | 485 | id = evt.GetId() |
486 | - evt.Skip() | ||
487 | if id in ID_TO_NAME.keys(): | 486 | if id in ID_TO_NAME.keys(): |
488 | # Raycassting type was selected | 487 | # Raycassting type was selected |
489 | name = ID_TO_NAME[id] | 488 | name = ID_TO_NAME[id] |