{"action":"opened","number":7,"pull_request":{"url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/pulls/7","id":30768243,"html_url":"https://github.com/c-connors/RiftSketch-Sandbox/pull/7","diff_url":"https://github.com/c-connors/RiftSketch-Sandbox/pull/7.diff","patch_url":"https://github.com/c-connors/RiftSketch-Sandbox/pull/7.patch","issue_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/issues/7","number":7,"state":"open","locked":false,"title":"Ignore light when selecting with Leap.","user":{"login":"anthonye2007","id":967725,"avatar_url":"https://avatars.githubusercontent.com/u/967725?v=3","gravatar_id":"","url":"https://api.github.com/users/anthonye2007","html_url":"https://github.com/anthonye2007","followers_url":"https://api.github.com/users/anthonye2007/followers","following_url":"https://api.github.com/users/anthonye2007/following{/other_user}","gists_url":"https://api.github.com/users/anthonye2007/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonye2007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonye2007/subscriptions","organizations_url":"https://api.github.com/users/anthonye2007/orgs","repos_url":"https://api.github.com/users/anthonye2007/repos","events_url":"https://api.github.com/users/anthonye2007/events{/privacy}","received_events_url":"https://api.github.com/users/anthonye2007/received_events","type":"User","site_admin":false},"body":"@c-connors  Here's the code to ignore the light. Closes #3.\r\n\r\nDidn't need to change much -- I just removed the light from the list of objects used in distance calculations.  I called this list `namedObjects`. Meshes only get added to this list if the user adds a `name` property.  \r\n\r\nThis isn't an ideal solution, but it works for what we need for now. :)\r\n\r\nOnce you've looked this over you can go ahead and auto merge from this Pull Request. Feel free to check out the code using `git fetch` followed by `git checkout origin ignoreLight'.  \r\n\r\nSorry about the formatting commits - my editor auto formatted apparently and I didn't realize it till later.","created_at":"2015-03-09T15:06:43Z","updated_at":"2015-03-09T15:06:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/pulls/7/commits","review_comments_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/pulls/7/comments","review_comment_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/issues/7/comments","statuses_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/statuses/00b42b5deda99d1a7133106d784a6704eaaa4e28","head":{"label":"c-connors:ignoreLight","ref":"ignoreLight","sha":"00b42b5deda99d1a7133106d784a6704eaaa4e28","user":{"login":"c-connors","id":9055634,"avatar_url":"https://avatars.githubusercontent.com/u/9055634?v=3","gravatar_id":"","url":"https://api.github.com/users/c-connors","html_url":"https://github.com/c-connors","followers_url":"https://api.github.com/users/c-connors/followers","following_url":"https://api.github.com/users/c-connors/following{/other_user}","gists_url":"https://api.github.com/users/c-connors/gists{/gist_id}","starred_url":"https://api.github.com/users/c-connors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c-connors/subscriptions","organizations_url":"https://api.github.com/users/c-connors/orgs","repos_url":"https://api.github.com/users/c-connors/repos","events_url":"https://api.github.com/users/c-connors/events{/privacy}","received_events_url":"https://api.github.com/users/c-connors/received_events","type":"User","site_admin":false},"repo":{"id":29984640,"name":"RiftSketch-Sandbox","full_name":"c-connors/RiftSketch-Sandbox","owner":{"login":"c-connors","id":9055634,"avatar_url":"https://avatars.githubusercontent.com/u/9055634?v=3","gravatar_id":"","url":"https://api.github.com/users/c-connors","html_url":"https://github.com/c-connors","followers_url":"https://api.github.com/users/c-connors/followers","following_url":"https://api.github.com/users/c-connors/following{/other_user}","gists_url":"https://api.github.com/users/c-connors/gists{/gist_id}","starred_url":"https://api.github.com/users/c-connors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c-connors/subscriptions","organizations_url":"https://api.github.com/users/c-connors/orgs","repos_url":"https://api.github.com/users/c-connors/repos","events_url":"https://api.github.com/users/c-connors/events{/privacy}","received_events_url":"https://api.github.com/users/c-connors/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/c-connors/RiftSketch-Sandbox","description":"","fork":false,"url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox","forks_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/forks","keys_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/teams","hooks_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/hooks","issue_events_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/issues/events{/number}","events_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/events","assignees_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/assignees{/user}","branches_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/branches{/branch}","tags_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/tags","blobs_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/statuses/{sha}","languages_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/languages","stargazers_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/stargazers","contributors_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/contributors","subscribers_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/subscribers","subscription_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/subscription","commits_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/contents/{+path}","compare_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/merges","archive_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/downloads","issues_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/issues{/number}","pulls_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/pulls{/number}","milestones_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/milestones{/number}","notifications_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/labels{/name}","releases_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/releases{/id}","created_at":"2015-01-28T19:37:36Z","updated_at":"2015-02-24T07:01:54Z","pushed_at":"2015-03-09T14:57:22Z","git_url":"git://github.com/c-connors/RiftSketch-Sandbox.git","ssh_url":"git@github.com:c-connors/RiftSketch-Sandbox.git","clone_url":"https://github.com/c-connors/RiftSketch-Sandbox.git","svn_url":"https://github.com/c-connors/RiftSketch-Sandbox","homepage":null,"size":1368,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":2,"default_branch":"master"}},"base":{"label":"c-connors:master","ref":"master","sha":"92b90a20e6b912ac9f4d1821e211677f70792c78","user":{"login":"c-connors","id":9055634,"avatar_url":"https://avatars.githubusercontent.com/u/9055634?v=3","gravatar_id":"","url":"https://api.github.com/users/c-connors","html_url":"https://github.com/c-connors","followers_url":"https://api.github.com/users/c-connors/followers","following_url":"https://api.github.com/users/c-connors/following{/other_user}","gists_url":"https://api.github.com/users/c-connors/gists{/gist_id}","starred_url":"https://api.github.com/users/c-connors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c-connors/subscriptions","organizations_url":"https://api.github.com/users/c-connors/orgs","repos_url":"https://api.github.com/users/c-connors/repos","events_url":"https://api.github.com/users/c-connors/events{/privacy}","received_events_url":"https://api.github.com/users/c-connors/received_events","type":"User","site_admin":false},"repo":{"id":29984640,"name":"RiftSketch-Sandbox","full_name":"c-connors/RiftSketch-Sandbox","owner":{"login":"c-connors","id":9055634,"avatar_url":"https://avatars.githubusercontent.com/u/9055634?v=3","gravatar_id":"","url":"https://api.github.com/users/c-connors","html_url":"https://github.com/c-connors","followers_url":"https://api.github.com/users/c-connors/followers","following_url":"https://api.github.com/users/c-connors/following{/other_user}","gists_url":"https://api.github.com/users/c-connors/gists{/gist_id}","starred_url":"https://api.github.com/users/c-connors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c-connors/subscriptions","organizations_url":"https://api.github.com/users/c-connors/orgs","repos_url":"https://api.github.com/users/c-connors/repos","events_url":"https://api.github.com/users/c-connors/events{/privacy}","received_events_url":"https://api.github.com/users/c-connors/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/c-connors/RiftSketch-Sandbox","description":"","fork":false,"url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox","forks_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/forks","keys_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/teams","hooks_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/hooks","issue_events_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/issues/events{/number}","events_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/events","assignees_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/assignees{/user}","branches_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/branches{/branch}","tags_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/tags","blobs_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/statuses/{sha}","languages_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/languages","stargazers_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/stargazers","contributors_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/contributors","subscribers_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/subscribers","subscription_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/subscription","commits_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/contents/{+path}","compare_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/merges","archive_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/downloads","issues_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/issues{/number}","pulls_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/pulls{/number}","milestones_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/milestones{/number}","notifications_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/labels{/name}","releases_url":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/releases{/id}","created_at":"2015-01-28T19:37:36Z","updated_at":"2015-02-24T07:01:54Z","pushed_at":"2015-03-09T14:57:22Z","git_url":"git://github.com/c-connors/RiftSketch-Sandbox.git","ssh_url":"git@github.com:c-connors/RiftSketch-Sandbox.git","clone_url":"https://github.com/c-connors/RiftSketch-Sandbox.git","svn_url":"https://github.com/c-connors/RiftSketch-Sandbox","homepage":null,"size":1368,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/pulls/7"},"html":{"href":"https://github.com/c-connors/RiftSketch-Sandbox/pull/7"},"issue":{"href":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/issues/7"},"comments":{"href":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/c-connors/RiftSketch-Sandbox/statuses/00b42b5deda99d1a7133106d784a6704eaaa4e28"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":1806,"deletions":1777,"changed_files":2}}