fix(3d-viewport): exception was being thrown and 3d viewpot not getting resized. (#4366)
This commit is contained in:
parent
fa2435d5e9
commit
433cc8089d
@ -242,7 +242,7 @@ class CornerstoneViewportService extends PubSubService implements IViewportServi
|
|||||||
return {
|
return {
|
||||||
id: positionPresentationId,
|
id: positionPresentationId,
|
||||||
viewportType: viewportInfo.getViewportType(),
|
viewportType: viewportInfo.getViewportType(),
|
||||||
viewReference: csViewport.getViewReference(),
|
viewReference: csViewport instanceof VolumeViewport3D ? null : csViewport.getViewReference(),
|
||||||
position: csViewport.getViewPresentation({ pan: true, zoom: true }),
|
position: csViewport.getViewPresentation({ pan: true, zoom: true }),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user