vtkSMOutputPort::GetSubsetDataInformation(unsigned int compositeIndex) does not return correct data for composite index 0
Steps to reproduce:
- Launch ParaView5.10.0-RC1, builtin server
- Load plugin LegacyExodusReader
- Open can.ex2, choose the LegacyExodusReader
- (Alan edit) Be sure to turn on all variables. Otherwise, counts are wrong below.
- Make sure can.ex2 is selected in the Pipeline Browser
- Open Python editor and run this script:
s = GetActiveSource()
cid = 0
s.SMProxy.GetSubsetDataInformation(0, cid).GetPointDataInformation().GetNumberOfArrays()
cid = 1
s.SMProxy.GetSubsetDataInformation(0, cid).GetPointDataInformation().GetNumberOfArrays()
You will get the output
0
5
The 0 should be a 5 as well. As a workaround, one can call
s.SMProxy.GetDataInformation().GetPointDataInformation().GetNumberOfArrays()
and get the expected answer.
Edited by W. Alan Scott