Keyframes from the animation view are not saved in python state files
Keyframes from the animation view are not saved in python state files
Steps to reproduce:
- run ParaView
- Source, Cone, Apply
- Create a simple animation with keyframes in the animation view
- File -> SaveState -> .py
- .py file does not contains any code related to keyframes and loading the state back, keyframes are not present
Note: keyframes are saved in the python trace file, so this is not due to a missing python API.
Original issue:
When I create keyframes for a camera animation cue either manually through the widget or with the macro mentioned in #21600 and #21599 I don't see any python lines generated in the file that related to the animation data. Here's the result https://github.com/DevinBayly/paraview_code/blob/main/debugging.py of the same operations that produced this file https://github.com/DevinBayly/paraview_code/blob/f12a062d0f8cca601e1815e157283ba9d9638d17/debugging.pvsm
Seems like this is a bug? This issue was created at the suggestion of @mwestphal on the community forum https://discourse.paraview.org/t/camera-animation-state-isnt-saving/10486/3