From 2f14aa87198640bb667509c64bad0227642a1f28 Mon Sep 17 00:00:00 2001 From: Krad Date: Thu, 7 Apr 2022 15:12:43 +0800 Subject: [PATCH] Fix data reload bug(camera not reset!). --- src/src/base/infinitiViewer.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/src/base/infinitiViewer.cxx b/src/src/base/infinitiViewer.cxx index 51012f4..5abdfaf 100644 --- a/src/src/base/infinitiViewer.cxx +++ b/src/src/base/infinitiViewer.cxx @@ -1347,6 +1347,7 @@ void infinitiViewer::setUpImageViewer() this->SetColorLevel(m_cornerInfo.win_level); this->SetColorWindow(m_cornerInfo.win_width); //this->GetRenderer()->ResetCamera(); + this->SetSliceOrientationToXY(); this->Render(); //first render will call resetcamera this->SetSlice(0); updateCornerInfoAll();