vtkKdTreePointLocator::BuildLocator/vtkKdTree::BuildLocatorFromPoints does not build BSP regions list
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
According to the documentation, the FindClosestPoint function of the vtkKdTreePointLocator should be thread-safe if BuildLocator has been called from the main thread beforehand. However, the BuildLocator function of the vtkKdTreePointLocator does not call the BuildRegionList of the BSPCalculator member of type vtkBSPIntersections. This function is then later on called upon FindClosestPoint from the worker threads which results in unpredictable behavior.
Findings based on the release branch commit with SHA1 82840f00.