fix: fix rotate image zoom bug
This commit is contained in:
@@ -702,6 +702,7 @@ void DicomImageView::rotateImage(double angle, TransFormType operation) {
|
||||
resetPanZoom();
|
||||
mImageViewer->GetRenderer()->GetActiveCamera()->Roll(angle);
|
||||
mCurrentRAngle=(mCurrentRAngle+(int)angle)%360;
|
||||
resetPanZoom();
|
||||
//to avoid black out problem during slicing
|
||||
//slcing is related with rotation, you have to recalculate to get it right
|
||||
mImageViewer->GetRenderer()->ResetCameraClippingRange();
|
||||
|
||||
Reference in New Issue
Block a user