Commit 77061d50da4d7a224032c99ba20f11c0300570c7

Authored by tfmoraes
1 parent a034dd58

Fix: Fixing raycasting preset name

Showing 1 changed file with 3 additions and 2 deletions   Show diff stats
invesalius/data/volume.py
... ... @@ -60,9 +60,10 @@ class Volume():
60 60  
61 61 def LoadConfig(self, label):
62 62 if not label:
63   - label = "Skin on Blue"
  63 + label = "Skin On Blue"
64 64  
65   - path = os.path.abspath("../presets/raycasting/"+label+".plist")
  65 + path = os.path.join("..", "presets", "raycasting",
  66 + label+".plist")
66 67 self.config = plistlib.readPlist(path)
67 68  
68 69 def OnHideVolume(self, pubsub_evt):
... ...