vtkCGNSReader: Values stuck on first timestep when a timestep is missing
When opening a .cgns
file that is missing a timestep, only the data values from the first timestep are displayed for all other timesteps.
The expected behavior would show the correct data at each timestep except for the missing timesteps where an empty dataset could be shown.
The images below illustrate the issue, where the left and right views show the incomplete and complete datasets, respectively.
Steps to reproduce:
- Open
stack.cgns
fromP220727-1156TY_missing.zip
- Select
CGNS Reader
if prompted - In the
Properties
tab, check the Cell ArrayCTotal
- Click
Apply
- Create a
Slice
filter - In the
Properties
tab, click onZ Normal
- Click
Apply
- Change currently displayed array to
CTotal
- Click on the button
Rescale to data range over all timesteps
- Change timestep to observe issue