Skip to content

Commit

Permalink
Fixed pick example to use "name" on pickRecord
Browse files Browse the repository at this point in the history
  • Loading branch information
xeolabs committed Nov 2, 2011
1 parent dbbf2a8 commit e5652d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/examples/basic-picking/basic-picking.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ function mouseDown(event) {
var pickRecord = scene.pick(coords.x, coords.y);

if (pickRecord) {
alert("Picked 'name' node with id '" + pickRecord.nodeId + "' at canvasX=" + pickRecord.canvasX + ", canvasY=" + pickRecord.canvasY);
alert("Picked 'name' node with id '" + pickRecord.name + "' at canvasX=" + pickRecord.canvasX + ", canvasY=" + pickRecord.canvasY);
} else {
alert("Nothing picked");
}
Expand Down

0 comments on commit e5652d8

Please sign in to comment.