Skip to content

Use thread-safe call to this->GetDimensions

Steven Hahn requested to merge quantumsteve/vtk:thread_safe_dimensions into master

I ran TestPointSmoothingFilter using ThreadSanitizer and found two calls to this->GetDimensions(), which isn't thread-safe since each call writes to a common array. This MR create a temporary array and uses vtkImageData::GetDimensions(int* dOut).

This is part of #18222

Merge request reports