Commit 8728b0e3e6dc438aa4149f485ad398034d4ace26

Authored by Paulo Henrique Junqueira Amorim
1 parent cfebcefb

ENH: Colors of the slice plane border

Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
invesalius/data/viewer_volume.py
@@ -403,9 +403,9 @@ class SlicePlane: @@ -403,9 +403,9 @@ class SlicePlane:
403 if(label == "Axial"): 403 if(label == "Axial"):
404 self.plane_z.On() 404 self.plane_z.On()
405 elif(label == "Coronal"): 405 elif(label == "Coronal"):
406 - self.plane_x.On()  
407 - elif(label == "Sagital"):  
408 self.plane_y.On() 406 self.plane_y.On()
  407 + elif(label == "Sagital"):
  408 + self.plane_x.On()
409 elif(self.original_orientation == const.SAGITAL): 409 elif(self.original_orientation == const.SAGITAL):
410 if(label == "Axial"): 410 if(label == "Axial"):
411 self.plane_y.On() 411 self.plane_y.On()
@@ -435,9 +435,9 @@ class SlicePlane: @@ -435,9 +435,9 @@ class SlicePlane:
435 if(label == "Axial"): 435 if(label == "Axial"):
436 self.plane_z.Off() 436 self.plane_z.Off()
437 elif(label == "Coronal"): 437 elif(label == "Coronal"):
438 - self.plane_x.Off()  
439 - elif(label == "Sagital"):  
440 self.plane_y.Off() 438 self.plane_y.Off()
  439 + elif(label == "Sagital"):
  440 + self.plane_x.Off()
441 441
442 elif(self.original_orientation == const.SAGITAL): 442 elif(self.original_orientation == const.SAGITAL):
443 if(label == "Axial"): 443 if(label == "Axial"):