Fix data reload bug(camera not reset!).
This commit is contained in:
@@ -1347,6 +1347,7 @@ void infinitiViewer::setUpImageViewer()
|
|||||||
this->SetColorLevel(m_cornerInfo.win_level);
|
this->SetColorLevel(m_cornerInfo.win_level);
|
||||||
this->SetColorWindow(m_cornerInfo.win_width);
|
this->SetColorWindow(m_cornerInfo.win_width);
|
||||||
//this->GetRenderer()->ResetCamera();
|
//this->GetRenderer()->ResetCamera();
|
||||||
|
this->SetSliceOrientationToXY();
|
||||||
this->Render(); //first render will call resetcamera
|
this->Render(); //first render will call resetcamera
|
||||||
this->SetSlice(0);
|
this->SetSlice(0);
|
||||||
updateCornerInfoAll();
|
updateCornerInfoAll();
|
||||||
|
|||||||
Reference in New Issue
Block a user