Commit 4f41c5b0eccb1607c60e4f5a29aa57c33e587231

Authored by Paulo Henrique Junqueira Amorim
1 parent 7afb7ef6

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,7 +215,7 @@ class Session(object):
215 215
216 self.surface_interpolation = config.get('session', 'surface_interpolation') 216 self.surface_interpolation = config.get('session', 'surface_interpolation')
217 self.rendering = config.get('session', 'rendering') 217 self.rendering = config.get('session', 'rendering')
218 - #return True 218 + return True
219 219
220 except(ConfigParser.NoSectionError, ConfigParser.MissingSectionHeaderError, 220 except(ConfigParser.NoSectionError, ConfigParser.MissingSectionHeaderError,
221 ConfigParser.ParsingError): 221 ConfigParser.ParsingError):
@@ -230,7 +230,7 @@ class Session(object): @@ -230,7 +230,7 @@ class Session(object):
230 #Added to fix new version compatibility 230 #Added to fix new version compatibility
231 self.surface_interpolation = 0 231 self.surface_interpolation = 0
232 self.rendering = 0 232 self.rendering = 0
233 - 233 +
234 self.CreateSessionFile() 234 self.CreateSessionFile()
235 return True 235 return True
236 236