Stream Tracer crash with surface streamlines on image data
Description
When trying to apply a Stream tracer with the Surface streamlines option On, it crashes if the input is a vtkImageData.
Steps to reproduce
- Create a wavelet
- Generate random vectors
- Add a stream tracer
- Set surface streamlines to true
- Apply and crash
Problem
In vtkAbstractInterpolatedVelocityField::FindAndUpdateCell
, we enter in the case where we don't find a cell in cache, then don't find a cell again. In that case, we're missing a check that strategy is nullptr, causing the crash.
Edited by Charly Bollinger