From ffac2338a739b8531caf97574a077c120a259f9a Mon Sep 17 00:00:00 2001 From: tatiana Date: Thu, 13 Aug 2009 20:13:41 +0000 Subject: [PATCH] ENC: sorting raycasting name list --- invesalius/data/volume.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/invesalius/data/volume.py b/invesalius/data/volume.py index 330826f..a8a982b 100755 --- a/invesalius/data/volume.py +++ b/invesalius/data/volume.py @@ -200,7 +200,7 @@ class Volume(): print ">>>", color_preset if color_preset != "No CLUT": p = plistlib.readPlist( - os.path.join(constants.RAYCASTING_PRESETS_DIRECTORY, + os.path.join(const.RAYCASTING_PRESETS_DIRECTORY, 'color_list', color_preset + '.plist')) print "nome clut", p r = p['Red'] @@ -377,7 +377,7 @@ class Volume(): # Changed the vtkVolumeRayCast to vtkFixedPointVolumeRayCastMapper # because it's faster and the image is better # TODO: To test if it's true. - if constants.TYPE_RAYCASTING_MAPPER: + if const.TYPE_RAYCASTING_MAPPER: volume_mapper = vtk.vtkVolumeRayCastMapper() #volume_mapper.AutoAdjustSampleDistancesOff() volume_mapper.SetInput(image2.GetOutput()) -- libgit2 0.21.2