Skip to content

Commit

Permalink
fix(picking): Fix point reference of picking (iTowns#2192)
Browse files Browse the repository at this point in the history
  • Loading branch information
ketourneau authored and AnthonyGlt committed Feb 22, 2024
1 parent 0f5d3b0 commit d0098dd
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 d0098dd

Please sign in to comment.