Commit 8728b0e3e6dc438aa4149f485ad398034d4ace26
1 parent
cfebcefb
Exists in
master
and in
6 other branches
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 | 403 | if(label == "Axial"): |
404 | 404 | self.plane_z.On() |
405 | 405 | elif(label == "Coronal"): |
406 | - self.plane_x.On() | |
407 | - elif(label == "Sagital"): | |
408 | 406 | self.plane_y.On() |
407 | + elif(label == "Sagital"): | |
408 | + self.plane_x.On() | |
409 | 409 | elif(self.original_orientation == const.SAGITAL): |
410 | 410 | if(label == "Axial"): |
411 | 411 | self.plane_y.On() |
... | ... | @@ -435,9 +435,9 @@ class SlicePlane: |
435 | 435 | if(label == "Axial"): |
436 | 436 | self.plane_z.Off() |
437 | 437 | elif(label == "Coronal"): |
438 | - self.plane_x.Off() | |
439 | - elif(label == "Sagital"): | |
440 | 438 | self.plane_y.Off() |
439 | + elif(label == "Sagital"): | |
440 | + self.plane_x.Off() | |
441 | 441 | |
442 | 442 | elif(self.original_orientation == const.SAGITAL): |
443 | 443 | if(label == "Axial"): | ... | ... |