diff --git a/Sources/Rendering/Core/PointPicker/index.js b/Sources/Rendering/Core/PointPicker/index.js index 20af75ecd47..be1b50db8a1 100644 --- a/Sources/Rendering/Core/PointPicker/index.js +++ b/Sources/Rendering/Core/PointPicker/index.js @@ -145,7 +145,10 @@ function vtkPointPicker(publicAPI, model) { } } - model.pointId = minPtId; + if (minPtId > -1 && tMin < model.globalTMin) { + model.globalTMin = tMin; + model.pointId = minPtId; + } return tMin; }; }