LOD Errors when rotating image data
Bug found by @terryturton ParaView nightly binary ParaView-5.6.0-1495-gd09fd37f, MacOS 10.13.6
There are errors when rotating a image dataset that's above the LOD threshold.
To recreate:
- ParaView -> Preferences -> RenderView -> Set LOD threshold to 0 -> Apply
- Create an image dataset: Sources -> Wavelet -> Apply -> Resample to Image filter -> Apply
- Show the surface instead of outline
- Rotate the the camera in the render view
I get an error:
ERROR: In /Users/kitware/dashboards/buildbot-slave/8275bd07/source-paraview/VTK/Accelerators/Vtkm/vtkmLevelOfDetail.cxx, line 160
DecimationFilterType (0x60800093a180): VTK-m error: Could not find appropriate cast for array in CastAndCall1.
Array: valueType=c storageType=N4vtkm4cont17StorageTagVirtualE numValues=60000 bytes=60000 [ ... ]
TypeList: N4vtkm16ListTagIntersectINS_16ListTagUniversalEN6tovtkm14FieldTypeInVTKEEE
ERROR: In /Users/kitware/dashboards/buildbot-slave/8275bd07/source-paraview/VTK/Common/ExecutionModel/vtkExecutive.cxx, line 782
vtkCompositeDataPipeline (0x6080005b9ec0): Algorithm DecimationFilterType(0x60800093a180) returned failure for request: vtkInformation (0x60c002e6d040)
Debug: Off
Modified Time: 1254199
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA
ALGORITHM_AFTER_FORWARD: 1
FORWARD_DIRECTION: 0
FROM_OUTPUT_PORT: 0