fix(viewport): Initial blank image on SR/SEG initial display (#3304)

* fix: Blank display area on initial DICOM SR load

* Docs

* Fix a NPE
This commit is contained in:
Bill Wallace authored and GitHub committed 2023-04-05 17:26:51 -04:00
1 parent 45a34ae0fe
commit d3da969d23
4 files changed
+97 -17

No files matched your search

@@ -390,8 +390,9 @@ const OHIFCornerstoneViewport = React.memo(props => {
initialImageIndex
);
storePresentation();
// The presentation state will have been stored previously by closing
// a viewport. Otherwise, this viewport will be unchanged and the
// presentation information will be directly carried over.
const {
lutPresentationStore,
positionPresentationStore,