feat(rt): allow rendering of points in RT Struct (#4128)

This commit is contained in:
Ibrahim authored and GitHub committed 2024-05-21 17:23:18 -04:00
1 parent ebe39cb8e6
commit 5903b0749a
6 files changed
+60 -8

No files matched your search

@@ -128,7 +128,9 @@ 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);
if (downloadViewport.setView) {
downloadViewport.setView(activeViewport.getViewReference(), presentation);
}
downloadViewport.render();
}
);