Hi, just noticed createViewer returns null without error. Digging into it and found webGL crashed for some reason, restarting the browser fixes it but it's confusing to get a null return. I think a better behaviour is to throw an error with the actual error message.
Hi, just noticed createViewer returns null without error. Digging into it and found webGL crashed for some reason, restarting the browser fixes it but it's confusing to get a null return. I think a better behaviour is to throw an error with the actual error message.
https://github.com/Kitware/itk-vtk-viewer/blob/4611de2206e3c97ebdfdf885d6872be63386f509/src/createViewer.js#L43-L45