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

fix(Viewer): Fix broken url handling in embedded case #267

Closed scottwittenburg closed 4 years ago

scottwittenburg commented 4 years ago

Adding support for passing two comma-separated urls in the fileToLoad url parameter broke the url handling when embedding the viewer in another application and using the data-url attribute to specify the location of the data. This fixes that, extending the support for providing comma-separated urls in the embedded use case.

scottwittenburg commented 4 years ago

Hopefully fixes #266

kerautret commented 4 years ago

Thanks a lot this work: http://ipol-geometry.loria.fr/SourceCodeDemosWorkshop/itk-vtk-viewer/dist/testEmbeded.html

thewtex commented 4 years ago

:tada: This PR is included in version 9.22.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: