Commit 80f05a72930f794ea7e469e8eecd16bb9a13da50
1 parent
cab6049e
Exists in
master
and in
68 other branches
FIX: Don't try to get the raycasting background colour if the raycasting is set …
…to off. Related to ticket #108
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
invesalius/data/volume.py
... | ... | @@ -136,9 +136,9 @@ class Volume(): |
136 | 136 | self.CalculateHistogram() |
137 | 137 | self.exist = 1 |
138 | 138 | |
139 | - colour = self.GetBackgroundColour() | |
140 | - ps.Publisher.sendMessage('Change volume viewer background colour', colour) | |
141 | - ps.Publisher.sendMessage('Change volume viewer gui colour', colour) | |
139 | + colour = self.GetBackgroundColour() | |
140 | + ps.Publisher.sendMessage('Change volume viewer background colour', colour) | |
141 | + ps.Publisher.sendMessage('Change volume viewer gui colour', colour) | |
142 | 142 | |
143 | 143 | def __load_preset_config(self): |
144 | 144 | self.config = prj.Project().raycasting_preset | ... | ... |