Kitware / trame-vtk

VTK/ParaView widgets for trame
BSD 3-Clause "New" or "Revised" License
17 stars 8 forks source link

fix(serializer): register vtkCompositePolyDataMapper #68

Closed ChristosT closed 6 months ago

ChristosT commented 6 months ago

The missing registration causes examples of pyvista that utilize multiblock to fail. These are currently broken see:

The suggested change fixes the issue. See the last two examples in https://pyvist-multiblock-examples-issues.netlify.app/some_plots.

The problem was found by exporting export TRAME_SERIALIZE_DEBUG=1 and compiling via sphinx the above example.

jourdain commented 6 months ago

That won't work. vtk.js does not have such mapper.