GLTFexporter & support for CompositeMapper2/MultiblockDataSet
Hi,
The GLTF exporter is not behaving well with scene using CompositeMapper2/MultiblockDataSet
First this line : https://github.com/Kitware/VTK/blob/863f3e57125c3037b7ce562315e7a4a9731b8de4/IO/Export/vtkGLTFExporter.cxx#L88 is catching only the first dataset in the vtkCompositeDataSet whereas it should return the list of the datasets.
Then after solving that, I found the Texturecoordinates returned by https://github.com/Kitware/VTK/blob/863f3e57125c3037b7ce562315e7a4a9731b8de4/IO/Export/vtkGLTFExporter.cxx#L190 are the ones of the first dataset. Thus, while looping on the datasets, we get there wrong tcoords array for the other next datasets.
Edited by eja_fft