Commit 39a9ca653994bba3a171c9c5ba2f4f797972651f

Authored by Paulo Henrique Junqueira Amorim
1 parent 09c281b7

FIX: Fixed synchronization between 2D slice and 3D slice in Coronal orientation

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
invesalius/data/viewer_volume.py
@@ -484,7 +484,7 @@ class SlicePlane: @@ -484,7 +484,7 @@ class SlicePlane:
484 elif(plane_axis == 1): 484 elif(plane_axis == 1):
485 orientation = "CORONAL" 485 orientation = "CORONAL"
486 dimen = obj.GetInput().GetDimensions() 486 dimen = obj.GetInput().GetDimensions()
487 - number = abs(dimen[0] - number) 487 + number = abs(dimen[0] - (number + 1))
488 else: 488 else:
489 orientation = "AXIAL" 489 orientation = "AXIAL"
490 490