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