Write htg as phtg not working on master branch
Tested with master build, MacOS
@sebastien.jourdain @yohann.bearzi I am unable to write .phtg's with the current paraview master branch.
To reproduce:
- Open paraview
- Sources -> Hyper Tree Grid (random) -> Apply
- File -> Save as phtg with default settings
I get the error:
( 20.623s) [paraview ]vtkDemandDrivenPipeline:813 ERR| vtkPVCompositeDataPipeline (0x7f84e25c7db0): Input for connection index 0 on input port index 0 for algorithm vtkPassSelectedArrays(0x7f84e208be60) is of type vtkHyperTreeGrid, but a vtkDataSet is required.
I added this to vtkPassArrays. It seemed to work, but I'm not sure if it's the right fix...
info->Append(vtkAlgorithm::INPUT_REQUIRED_DATA_TYPE(), "vtkHyperTreeGrid");