From c93a020c4338f3f771df31e91029903daf1803ba Mon Sep 17 00:00:00 2001 From: rodrigobasilio2022 <114958722+rodrigobasilio2022@users.noreply.github.com> Date: Fri, 3 Nov 2023 11:50:15 -0300 Subject: [PATCH] refactor(picker): Refactor point picker function --- Sources/Rendering/Core/PointPicker/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Rendering/Core/PointPicker/index.js b/Sources/Rendering/Core/PointPicker/index.js index b5c5c0e2541..16da547772e 100644 --- a/Sources/Rendering/Core/PointPicker/index.js +++ b/Sources/Rendering/Core/PointPicker/index.js @@ -12,7 +12,7 @@ function vtkPointPicker(publicAPI, model) { // Set our className model.classHierarchy.push('vtkPointPicker'); - publicAPI.intersectWithLine = (p1, p2, tol, mapper) => { + publicAPI.intersectWithLine = (p1, p2, tol, actor, mapper) => { let tMin = Number.MAX_VALUE; if (mapper.isA('vtkImageMapper') || mapper.isA('vtkImageArrayMapper')) {