Bug in RemoteView Example (vtk.js)

Hi VTK.

There seems to have been introduced a bug in the

The example worked earlier this year, but after some of the recent updates, something seems to have broken it.
After debugging a local version, it seems that it is line 60 that is causing the problem.
If I replace
const viewStream = this.clientToConnect
with
const viewStream = clientToConnect
The example works on my local project.

Best regards
Kenneth

Thanks for the report! If you’d like, feel free to submit a PR with the fix, otherwise we can handle it.

Thanks and good catch!

Just fixed it, we just need the CI to finish its cycle. Thanks again for pointing that out!

1 Like