Commit 4f41c5b0eccb1607c60e4f5a29aa57c33e587231
1 parent
7afb7ef6
Exists in
master
and in
67 other branches
ENH: Added session with volume rendering and surface interpolation option
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
invesalius/session.py
| ... | ... | @@ -215,7 +215,7 @@ class Session(object): |
| 215 | 215 | |
| 216 | 216 | self.surface_interpolation = config.get('session', 'surface_interpolation') |
| 217 | 217 | self.rendering = config.get('session', 'rendering') |
| 218 | - #return True | |
| 218 | + return True | |
| 219 | 219 | |
| 220 | 220 | except(ConfigParser.NoSectionError, ConfigParser.MissingSectionHeaderError, |
| 221 | 221 | ConfigParser.ParsingError): |
| ... | ... | @@ -230,7 +230,7 @@ class Session(object): |
| 230 | 230 | #Added to fix new version compatibility |
| 231 | 231 | self.surface_interpolation = 0 |
| 232 | 232 | self.rendering = 0 |
| 233 | - | |
| 233 | + | |
| 234 | 234 | self.CreateSessionFile() |
| 235 | 235 | return True |
| 236 | 236 | ... | ... |