Skip to content

Commit

Permalink
fix(3d-viewport): exception was being thrown and 3d viewpot not getti…
Browse files Browse the repository at this point in the history
…ng resized. (#4366)
  • Loading branch information
IbrahimCSAE authored Oct 17, 2024
1 parent fa2435d commit 433cc80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 }),
};
}
Expand Down

0 comments on commit 433cc80

Please sign in to comment.