set view
This commit is contained in:
parent
a3d7f88b03
commit
29c02121df
@ -128,7 +128,7 @@ const CornerstoneViewportDownloadForm = ({
|
|||||||
// for some reason we need a reset camera here, and I don't know why
|
// for some reason we need a reset camera here, and I don't know why
|
||||||
downloadViewport.resetCamera();
|
downloadViewport.resetCamera();
|
||||||
const presentation = activeViewport.getViewPresentation();
|
const presentation = activeViewport.getViewPresentation();
|
||||||
downloadViewport.setView(activeViewport.getViewReference(), presentation);
|
downloadViewport.setViewPresentation(presentation);
|
||||||
downloadViewport.render();
|
downloadViewport.render();
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user