Commit 3126317dabdb488440183adb8b7a0071f0f6d63c
1 parent
6dbca98b
Exists in
master
and in
5 other branches
FIX: Fixed problem change plane slices in volume view
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
invesalius/data/viewer_volume.py
... | ... | @@ -683,8 +683,8 @@ class Viewer(wx.Panel): |
683 | 683 | proj = prj.Project() |
684 | 684 | orig_orien = proj.original_orientation |
685 | 685 | |
686 | - xv,yv,zv = const.VOLUME_POSITION[orig_orien][0][view] | |
687 | - xp,yp,zp = const.VOLUME_POSITION[orig_orien][1][view] | |
686 | + xv,yv,zv = const.VOLUME_POSITION[const.AXIAL][0][view] | |
687 | + xp,yp,zp = const.VOLUME_POSITION[const.AXIAL][1][view] | |
688 | 688 | |
689 | 689 | cam.SetViewUp(xv,yv,zv) |
690 | 690 | cam.SetPosition(xp,yp,zp) | ... | ... |