Skip to content

Fix vtkWebPublishImageDelivery bug by change viewsInAnimations type to set()

In my RemoteView demo case, vtkWebMouseHandler will multi triggle self.getApplication().InvokeEvent("StartInteractionEvent") . And this will cause viewsInAnimations like ['-1','-1','-1',....] which will cause needless render by call animate. Maybe this is a bug from vtkjs, but change viewsInAnimations to set() will fix it

Merge request reports