Skip to content

Commit

Permalink
fix(picking): Fix point reference of picking (#2192)
Browse files Browse the repository at this point in the history
  • Loading branch information
ketourneau authored Sep 20, 2023
1 parent 1cf7075 commit 1cd4db9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/Picking.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export default {
const dist = pointPosCoord.spatialEuclideanDistanceTo(cameraPosCoord);
result.push({
object: o,
point: pointPos, // the position of the point in the 3D view. Same name and value than what's returned by pickObjectsAt
point: pointPos.clone(), // the position of the point in the 3D view. Same name and value than what's returned by pickObjectsAt
index: candidates[i].index,
distance: dist,
layer,
Expand Down

0 comments on commit 1cd4db9

Please sign in to comment.