Skip to content

Commit

Permalink
WIP: workaround for TypeScript vtkViewProxy error
Browse files Browse the repository at this point in the history
  • Loading branch information
tbirdso committed Nov 14, 2023
1 parent 9c02c1f commit c4eec76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/WebXRRendering.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function updateXRStateFunc() {
function startXRFunc(sessionType:XrSessionTypes) {
const { viewProxy } = useViewProxy(TARGET_VIEW_ID, ViewProxyType.Volume);
vtkWebXRStore.xrHelper.setRenderWindow(viewProxy.value.getOpenGLRenderWindow());
vtkWebXRStore.xrHelper.setRenderWindow((viewProxy.value as any).getOpenGLRenderWindow());
vtkWebXRStore.xrHelper.startXR(sessionType);
}
Expand Down

0 comments on commit c4eec76

Please sign in to comment.