Use of RandomAttributes after GenerateIds makes Paraview drop scalar field of ids
Hi all,
I use Paraview 5.10.1.
I execute the following pipeline:
#### import the simple module from the paraview
from paraview.simple import *
# create a new 'Wavelet'
wavelet1 = Wavelet(registrationName='Wavelet1')
# create a new 'Generate Ids'
generateIds1 = GenerateIds(registrationName='GenerateIds1', Input=wavelet1)
# create a new 'Random Attributes'
randomAttributes1 = RandomAttributes(registrationName='RandomAttributes1', Input=generateIds1)
randomAttributes1.GeneratePointScalars = 1
When looking at the produced results, instead of finding two scalar fields for the points, there is only one: RandomPointScalars. If RandomAttributes is used before GenerateIds, then it is PointIds that is found. But whatever the order of the two filters, a scalar field is dropped unintentionally.
When each filter is used with another filter, such as Elevation, the bug disappears.