Commit a2f19a0049d9ec69b97156cc0d72d3f341354750

Authored by tfmoraes
1 parent d19662c8

FIX: Only not apply a flip in surface creation when the exam is in coronal orientation

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
invesalius/data/surface.py
@@ -432,10 +432,10 @@ class SurfaceManager(): @@ -432,10 +432,10 @@ class SurfaceManager():
432 432
433 language = ses.Session().language 433 language = ses.Session().language
434 434
435 - if (prj.Project().original_orientation == const.AXIAL):  
436 - flip_image = True  
437 - else: 435 + if (prj.Project().original_orientation == const.CORONAL):
438 flip_image = False 436 flip_image = False
  437 + else:
  438 + flip_image = True
439 439
440 pipe_in, pipe_out = multiprocessing.Pipe() 440 pipe_in, pipe_out = multiprocessing.Pipe()
441 sp = surface_process.SurfaceProcess(pipe_in, filename_img, mode, min_value, max_value, 441 sp = surface_process.SurfaceProcess(pipe_in, filename_img, mode, min_value, max_value,