Kitware / itk-vtk-viewer

2D / 3D web image, mesh, and point set viewer using itk-wasm and vtk.js
https://kitware.github.io/itk-vtk-viewer/
BSD 3-Clause "New" or "Revised" License
210 stars 64 forks source link

Point cloud viewer is broken #428

Open oeway opened 3 years ago

oeway commented 3 years ago

For some reason the point cloud viewer breaks due to recent changes, I got this error:

TypeError: t.selector.attach is not a function

To reproduce it, click here: https://shareloc.xyz/#/r/04cb0d658f351d47446b351dca89ef4c And in the popup dialog click the VTK.js icon, normally it should show a point cloud.

thewtex commented 3 years ago

@oeway it seems to be working? Is this correct? He is what I get:

image

oeway commented 3 years ago

Hi, that's wired, i just tried it and I don't see anything:

Screen Shot 2021-08-14 at 3 06 17 PM

I am in the latest Chrome/MacOS 10.14.6

oeway commented 3 years ago

@thewtex I hit this issue also for the volumetric viewer in ImageJ.JS:

Screen Shot 2021-09-07 at 7 35 04 PM

It's a chrome specific issue, since in Firefox it's fine, I am in MacOS 10.14.6.

Could you please look into it? We have a lot of users on the site, would be great to fix it.

EDIT: I did more testing with different versions, I found that it works with https://unpkg.com/itk-vtk-viewer@11.9.1/dist/index.html but not if I switch to 11.9.2. I am going to pin it to 11.9.1 for now.