Make vtkPointLocator::findClosestPointsWithinRadius thread-safe
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
It is reportet that findClosestsPointsWithinRadius is supposed to be thread-safe. Well, it's not in 5.2.
Changing line 920 from:
pt = this->DataSet->GetPoint(ptId);
to
this->DataSet->GetPoint(ptId, pt);
(and converting pt from double* to double[3])
Makes it work for me. I'm not yet sure whether the buckets used there are thread-safe (haven't had a look at it), but my code seems happy atm