Skip to content

Commit

Permalink
Merge pull request #4680 from voxel51/add-on-select-xyz
Browse files Browse the repository at this point in the history
add x,y,z to on_selected
  • Loading branch information
ritch authored Aug 14, 2024
2 parents 92bac0a + 61a6755 commit 8d34ea7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,9 @@ const EventDataMappers = {
selected.push({
idx: point.pointIndex,
id: Array.isArray(ids) ? ids[point.pointIndex] : null,
x: Array.isArray(x) ? x[point.pointIndex] : null,
y: Array.isArray(y) ? y[point.pointIndex] : null,
z: Array.isArray(z) ? z[point.pointIndex] : null,
});
}
return selected;
Expand Down

0 comments on commit 8d34ea7

Please sign in to comment.