From 63ad0eb302adb094c6616dea887dcd573b456a29 Mon Sep 17 00:00:00 2001 From: tfmoraes Date: Fri, 16 Oct 2009 12:38:44 +0000 Subject: [PATCH] FIX: Using absolute path in constants to indicate the raycasting presets --- invesalius/constants.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/invesalius/constants.py b/invesalius/constants.py index 30d80a3..3158754 100644 --- a/invesalius/constants.py +++ b/invesalius/constants.py @@ -167,7 +167,9 @@ REDUCE_IMAGEDATA_QUALITY = 1 # if 1, use vtkVolumeRaycastMapper, if 0, use vtkFixedPointVolumeRayCastMapper TYPE_RAYCASTING_MAPPER = 0 -folder=RAYCASTING_PRESETS_DIRECTORY= os.path.join("..", "presets", "raycasting") +folder=RAYCASTING_PRESETS_DIRECTORY= os.path.abspath(os.path.join("..", + "presets", + "raycasting")) RAYCASTING_TYPES = [filename.split(".")[0] for filename in os.listdir(folder) if -- libgit2 0.21.2