Fix data reload bug(camera not reset!).

This commit is contained in:
Krad
2022-04-07 15:12:43 +08:00
parent ac8e3c6cff
commit 2f14aa8719

View File

@@ -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();