# XMLImageDataReader keeps re-executing with a static dataset when playing keyframes animation

**URL:** https://discourse.paraview.org/t/xmlimagedatareader-keeps-re-executing-with-a-static-dataset-when-playing-keyframes-animation/5692
**Category:** Development
**Created:** [October 30, 2020, 3:17pm UTC](https://discourse.paraview.org/t/xmlimagedatareader-keeps-re-executing-with-a-static-dataset-when-playing-keyframes-animation/5692 "2020-10-30T15:17:49Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jfavre](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/b5ac83/32.png) [@jfavre](https://discourse.paraview.org/u/jfavre)
#### Post date: [October 30, 2020, 3:17pm UTC](https://discourse.paraview.org/t/xmlimagedatareader-keeps-re-executing-with-a-static-dataset-when-playing-keyframes-animation/5692/1 "2020-10-30T15:17:49Z")

</div>

I have a benchmark reading a single \*vti file, creating 4 camera keyframes, and simply playing the Animation. There is nothing else in my visualization pipeline . Using ParaView 5.8, it reads the file a **single time** , and plays the animation really fast.

Using the master branch (5.8.1-1529-gc3c8d3e315), testing for the soon-to-come 5.9, the file gets re-read for **every** iteration of the GetAnimationScene().Play(). This seems completely counter-intuitive. The vtkImageData is static; it has no Time Value associated with it.

I have created a reproducer code. Generate a wavelet similar to my data (see the python script). Then play the script.

[CFDvolume31.py](https://discourse.paraview.org/uploads/short-url/67zg3VQH7Bb1XtShmfrKQOFooIt.py) (2.0 KB) .

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [November 4, 2020, 8:43am UTC](https://discourse.paraview.org/t/xmlimagedatareader-keeps-re-executing-with-a-static-dataset-when-playing-keyframes-animation/5692/2 "2020-11-04T08:43:08Z")

</div>

@nicolas.vuaille: Is this related to our devs ?

---

<div class="post-metadata">

### Author: ![nicolas.vuaille](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nicolas.vuaille/32/5873_2.png) [@nicolas.vuaille](https://discourse.paraview.org/u/nicolas.vuaille)
#### Post date: [November 6, 2020, 10:11am UTC](https://discourse.paraview.org/t/xmlimagedatareader-keeps-re-executing-with-a-static-dataset-when-playing-keyframes-animation/5692/3 "2020-11-06T10:11:42Z")

</div>

@mwestphal I don’t think it is related to our last devs. I’m investigating. (I reproduce with the given script, thanks to @jfavre)
