This commit is contained in:
Alireza 2024-06-03 15:05:38 -04:00
parent a3d7f88b03
commit 29c02121df

View File

@ -128,7 +128,7 @@ const CornerstoneViewportDownloadForm = ({
// for some reason we need a reset camera here, and I don't know why
downloadViewport.resetCamera();
const presentation = activeViewport.getViewPresentation();
downloadViewport.setView(activeViewport.getViewReference(), presentation);
downloadViewport.setViewPresentation(presentation);
downloadViewport.render();
}
);