Live Sources (including LiveProgrammableSource) do not update as expected when loaded from a python state
Live Sources (including Live Programmable Sources) pipelines do not update as expected when loaded from a python state. They only update when interacting with the view instead.
Steps to reproduce:
- run ParaView
- Live Programmable Source
- Script: dna.py
- CheckNeedsUpdateScript:
self.SetNeedsUpdate(True)
- Apply (expecting a moving "dna" line on a 3d view)
- Clip, Apply
- File Save State -> Save to python state file
- Reset Session
- Load python state file
- "dna" line only move when the view is interacted with
Notes:
- CheckNeedsUpdate is being called correctly, but the
Modified()
is not taken into account for some reason - Not having a second filter makes the bug disappear
- Showing and then hiding the Live source make the bug disapear
- No bug with .pvsm statefile
May be related: