Commit 63ad0eb302adb094c6616dea887dcd573b456a29
1 parent
4aeae2b9
Exists in
master
and in
68 other branches
FIX: Using absolute path in constants to indicate the raycasting presets
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
invesalius/constants.py
... | ... | @@ -167,7 +167,9 @@ REDUCE_IMAGEDATA_QUALITY = 1 |
167 | 167 | # if 1, use vtkVolumeRaycastMapper, if 0, use vtkFixedPointVolumeRayCastMapper |
168 | 168 | TYPE_RAYCASTING_MAPPER = 0 |
169 | 169 | |
170 | -folder=RAYCASTING_PRESETS_DIRECTORY= os.path.join("..", "presets", "raycasting") | |
170 | +folder=RAYCASTING_PRESETS_DIRECTORY= os.path.abspath(os.path.join("..", | |
171 | + "presets", | |
172 | + "raycasting")) | |
171 | 173 | |
172 | 174 | RAYCASTING_TYPES = [filename.split(".")[0] for filename in |
173 | 175 | os.listdir(folder) if | ... | ... |