VTK.js + trame: No textures in local rendering => minimal example for python ?

Just for posterity, I think there is a issue with trame-vtk vtkLocalView sync of texture to the client/browser.

This change to vtk.js’s Sources/Rendering/Misc/SynchronizableRenderWindow/ObjectManager/index.js seems to fix it:

The change does have the issue of triggering a perf warning though GL_INVALID_OPERATION: glTexStorage2D: Texture is immutable.

Here is a test trame app that triggers the issue. It updates the texture every second: