{"action":"closed","number":260,"pull_request":{"url":"https://api.github.com/repos/AdamsLair/duality/pulls/260","id":54925544,"html_url":"https://github.com/AdamsLair/duality/pull/260","diff_url":"https://github.com/AdamsLair/duality/pull/260.diff","patch_url":"https://github.com/AdamsLair/duality/pull/260.patch","issue_url":"https://api.github.com/repos/AdamsLair/duality/issues/260","number":260,"state":"closed","locked":false,"title":"Added the ability to add components to multiple selected GameObjects","user":{"login":"deanljohnson","id":12946946,"avatar_url":"https://avatars.githubusercontent.com/u/12946946?v=3","gravatar_id":"","url":"https://api.github.com/users/deanljohnson","html_url":"https://github.com/deanljohnson","followers_url":"https://api.github.com/users/deanljohnson/followers","following_url":"https://api.github.com/users/deanljohnson/following{/other_user}","gists_url":"https://api.github.com/users/deanljohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/deanljohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deanljohnson/subscriptions","organizations_url":"https://api.github.com/users/deanljohnson/orgs","repos_url":"https://api.github.com/users/deanljohnson/repos","events_url":"https://api.github.com/users/deanljohnson/events{/privacy}","received_events_url":"https://api.github.com/users/deanljohnson/received_events","type":"User","site_admin":false},"body":"What I had to do:\r\n\r\n1) Removed the check for a single selection when deciding if the \"new\" context menu item should be shown\r\n2) Looped over the SelectedNodes property rather than just SelectedNode. This forced me to track the added nodes so that we could select them later. Selecting them inside the foreach loop would have modified the enumerable.\r\n\r\nI checked and verified that this does not overwrite Component's if they already exist on a GameObject.","created_at":"2016-01-03T14:20:25Z","updated_at":"2016-01-10T14:20:00Z","closed_at":"2016-01-10T14:20:00Z","merged_at":"2016-01-10T14:20:00Z","merge_commit_sha":"a50e34d5be67f125ce73b712046aeffaa7c4226d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AdamsLair/duality/pulls/260/commits","review_comments_url":"https://api.github.com/repos/AdamsLair/duality/pulls/260/comments","review_comment_url":"https://api.github.com/repos/AdamsLair/duality/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AdamsLair/duality/issues/260/comments","statuses_url":"https://api.github.com/repos/AdamsLair/duality/statuses/464d635b0d05f1443fb6367807c1293ade7d2da9","head":{"label":"deanljohnson:add-component-to-multiple-gameObjects","ref":"add-component-to-multiple-gameObjects","sha":"464d635b0d05f1443fb6367807c1293ade7d2da9","user":{"login":"deanljohnson","id":12946946,"avatar_url":"https://avatars.githubusercontent.com/u/12946946?v=3","gravatar_id":"","url":"https://api.github.com/users/deanljohnson","html_url":"https://github.com/deanljohnson","followers_url":"https://api.github.com/users/deanljohnson/followers","following_url":"https://api.github.com/users/deanljohnson/following{/other_user}","gists_url":"https://api.github.com/users/deanljohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/deanljohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deanljohnson/subscriptions","organizations_url":"https://api.github.com/users/deanljohnson/orgs","repos_url":"https://api.github.com/users/deanljohnson/repos","events_url":"https://api.github.com/users/deanljohnson/events{/privacy}","received_events_url":"https://api.github.com/users/deanljohnson/received_events","type":"User","site_admin":false},"repo":{"id":48941822,"name":"duality","full_name":"deanljohnson/duality","owner":{"login":"deanljohnson","id":12946946,"avatar_url":"https://avatars.githubusercontent.com/u/12946946?v=3","gravatar_id":"","url":"https://api.github.com/users/deanljohnson","html_url":"https://github.com/deanljohnson","followers_url":"https://api.github.com/users/deanljohnson/followers","following_url":"https://api.github.com/users/deanljohnson/following{/other_user}","gists_url":"https://api.github.com/users/deanljohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/deanljohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deanljohnson/subscriptions","organizations_url":"https://api.github.com/users/deanljohnson/orgs","repos_url":"https://api.github.com/users/deanljohnson/repos","events_url":"https://api.github.com/users/deanljohnson/events{/privacy}","received_events_url":"https://api.github.com/users/deanljohnson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/deanljohnson/duality","description":"a 2D Game Development Framework","fork":true,"url":"https://api.github.com/repos/deanljohnson/duality","forks_url":"https://api.github.com/repos/deanljohnson/duality/forks","keys_url":"https://api.github.com/repos/deanljohnson/duality/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deanljohnson/duality/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deanljohnson/duality/teams","hooks_url":"https://api.github.com/repos/deanljohnson/duality/hooks","issue_events_url":"https://api.github.com/repos/deanljohnson/duality/issues/events{/number}","events_url":"https://api.github.com/repos/deanljohnson/duality/events","assignees_url":"https://api.github.com/repos/deanljohnson/duality/assignees{/user}","branches_url":"https://api.github.com/repos/deanljohnson/duality/branches{/branch}","tags_url":"https://api.github.com/repos/deanljohnson/duality/tags","blobs_url":"https://api.github.com/repos/deanljohnson/duality/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deanljohnson/duality/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deanljohnson/duality/git/refs{/sha}","trees_url":"https://api.github.com/repos/deanljohnson/duality/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deanljohnson/duality/statuses/{sha}","languages_url":"https://api.github.com/repos/deanljohnson/duality/languages","stargazers_url":"https://api.github.com/repos/deanljohnson/duality/stargazers","contributors_url":"https://api.github.com/repos/deanljohnson/duality/contributors","subscribers_url":"https://api.github.com/repos/deanljohnson/duality/subscribers","subscription_url":"https://api.github.com/repos/deanljohnson/duality/subscription","commits_url":"https://api.github.com/repos/deanljohnson/duality/commits{/sha}","git_commits_url":"https://api.github.com/repos/deanljohnson/duality/git/commits{/sha}","comments_url":"https://api.github.com/repos/deanljohnson/duality/comments{/number}","issue_comment_url":"https://api.github.com/repos/deanljohnson/duality/issues/comments{/number}","contents_url":"https://api.github.com/repos/deanljohnson/duality/contents/{+path}","compare_url":"https://api.github.com/repos/deanljohnson/duality/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deanljohnson/duality/merges","archive_url":"https://api.github.com/repos/deanljohnson/duality/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deanljohnson/duality/downloads","issues_url":"https://api.github.com/repos/deanljohnson/duality/issues{/number}","pulls_url":"https://api.github.com/repos/deanljohnson/duality/pulls{/number}","milestones_url":"https://api.github.com/repos/deanljohnson/duality/milestones{/number}","notifications_url":"https://api.github.com/repos/deanljohnson/duality/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deanljohnson/duality/labels{/name}","releases_url":"https://api.github.com/repos/deanljohnson/duality/releases{/id}","created_at":"2016-01-03T10:20:48Z","updated_at":"2016-01-03T10:20:55Z","pushed_at":"2016-01-07T12:52:53Z","git_url":"git://github.com/deanljohnson/duality.git","ssh_url":"git@github.com:deanljohnson/duality.git","clone_url":"https://github.com/deanljohnson/duality.git","svn_url":"https://github.com/deanljohnson/duality","homepage":"http://duality.adamslair.net","size":237643,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"AdamsLair:master","ref":"master","sha":"5f0f69127e09469c722e54f2d1dc2f6f816f9f2a","user":{"login":"AdamsLair","id":5013908,"avatar_url":"https://avatars.githubusercontent.com/u/5013908?v=3","gravatar_id":"","url":"https://api.github.com/users/AdamsLair","html_url":"https://github.com/AdamsLair","followers_url":"https://api.github.com/users/AdamsLair/followers","following_url":"https://api.github.com/users/AdamsLair/following{/other_user}","gists_url":"https://api.github.com/users/AdamsLair/gists{/gist_id}","starred_url":"https://api.github.com/users/AdamsLair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdamsLair/subscriptions","organizations_url":"https://api.github.com/users/AdamsLair/orgs","repos_url":"https://api.github.com/users/AdamsLair/repos","events_url":"https://api.github.com/users/AdamsLair/events{/privacy}","received_events_url":"https://api.github.com/users/AdamsLair/received_events","type":"Organization","site_admin":false},"repo":{"id":11561833,"name":"duality","full_name":"AdamsLair/duality","owner":{"login":"AdamsLair","id":5013908,"avatar_url":"https://avatars.githubusercontent.com/u/5013908?v=3","gravatar_id":"","url":"https://api.github.com/users/AdamsLair","html_url":"https://github.com/AdamsLair","followers_url":"https://api.github.com/users/AdamsLair/followers","following_url":"https://api.github.com/users/AdamsLair/following{/other_user}","gists_url":"https://api.github.com/users/AdamsLair/gists{/gist_id}","starred_url":"https://api.github.com/users/AdamsLair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdamsLair/subscriptions","organizations_url":"https://api.github.com/users/AdamsLair/orgs","repos_url":"https://api.github.com/users/AdamsLair/repos","events_url":"https://api.github.com/users/AdamsLair/events{/privacy}","received_events_url":"https://api.github.com/users/AdamsLair/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AdamsLair/duality","description":"a 2D Game Development Framework","fork":false,"url":"https://api.github.com/repos/AdamsLair/duality","forks_url":"https://api.github.com/repos/AdamsLair/duality/forks","keys_url":"https://api.github.com/repos/AdamsLair/duality/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AdamsLair/duality/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AdamsLair/duality/teams","hooks_url":"https://api.github.com/repos/AdamsLair/duality/hooks","issue_events_url":"https://api.github.com/repos/AdamsLair/duality/issues/events{/number}","events_url":"https://api.github.com/repos/AdamsLair/duality/events","assignees_url":"https://api.github.com/repos/AdamsLair/duality/assignees{/user}","branches_url":"https://api.github.com/repos/AdamsLair/duality/branches{/branch}","tags_url":"https://api.github.com/repos/AdamsLair/duality/tags","blobs_url":"https://api.github.com/repos/AdamsLair/duality/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AdamsLair/duality/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AdamsLair/duality/git/refs{/sha}","trees_url":"https://api.github.com/repos/AdamsLair/duality/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AdamsLair/duality/statuses/{sha}","languages_url":"https://api.github.com/repos/AdamsLair/duality/languages","stargazers_url":"https://api.github.com/repos/AdamsLair/duality/stargazers","contributors_url":"https://api.github.com/repos/AdamsLair/duality/contributors","subscribers_url":"https://api.github.com/repos/AdamsLair/duality/subscribers","subscription_url":"https://api.github.com/repos/AdamsLair/duality/subscription","commits_url":"https://api.github.com/repos/AdamsLair/duality/commits{/sha}","git_commits_url":"https://api.github.com/repos/AdamsLair/duality/git/commits{/sha}","comments_url":"https://api.github.com/repos/AdamsLair/duality/comments{/number}","issue_comment_url":"https://api.github.com/repos/AdamsLair/duality/issues/comments{/number}","contents_url":"https://api.github.com/repos/AdamsLair/duality/contents/{+path}","compare_url":"https://api.github.com/repos/AdamsLair/duality/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AdamsLair/duality/merges","archive_url":"https://api.github.com/repos/AdamsLair/duality/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AdamsLair/duality/downloads","issues_url":"https://api.github.com/repos/AdamsLair/duality/issues{/number}","pulls_url":"https://api.github.com/repos/AdamsLair/duality/pulls{/number}","milestones_url":"https://api.github.com/repos/AdamsLair/duality/milestones{/number}","notifications_url":"https://api.github.com/repos/AdamsLair/duality/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AdamsLair/duality/labels{/name}","releases_url":"https://api.github.com/repos/AdamsLair/duality/releases{/id}","created_at":"2013-07-21T13:12:50Z","updated_at":"2016-01-10T14:15:07Z","pushed_at":"2016-01-10T14:19:59Z","git_url":"git://github.com/AdamsLair/duality.git","ssh_url":"git@github.com:AdamsLair/duality.git","clone_url":"https://github.com/AdamsLair/duality.git","svn_url":"https://github.com/AdamsLair/duality","homepage":"http://duality.adamslair.net","size":239509,"stargazers_count":479,"watchers_count":479,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":136,"mirror_url":null,"open_issues_count":49,"forks":136,"open_issues":49,"watchers":479,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AdamsLair/duality/pulls/260"},"html":{"href":"https://github.com/AdamsLair/duality/pull/260"},"issue":{"href":"https://api.github.com/repos/AdamsLair/duality/issues/260"},"comments":{"href":"https://api.github.com/repos/AdamsLair/duality/issues/260/comments"},"review_comments":{"href":"https://api.github.com/repos/AdamsLair/duality/pulls/260/comments"},"review_comment":{"href":"https://api.github.com/repos/AdamsLair/duality/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AdamsLair/duality/pulls/260/commits"},"statuses":{"href":"https://api.github.com/repos/AdamsLair/duality/statuses/464d635b0d05f1443fb6367807c1293ade7d2da9"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ilexp","id":14859411,"avatar_url":"https://avatars.githubusercontent.com/u/14859411?v=3","gravatar_id":"","url":"https://api.github.com/users/ilexp","html_url":"https://github.com/ilexp","followers_url":"https://api.github.com/users/ilexp/followers","following_url":"https://api.github.com/users/ilexp/following{/other_user}","gists_url":"https://api.github.com/users/ilexp/gists{/gist_id}","starred_url":"https://api.github.com/users/ilexp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilexp/subscriptions","organizations_url":"https://api.github.com/users/ilexp/orgs","repos_url":"https://api.github.com/users/ilexp/repos","events_url":"https://api.github.com/users/ilexp/events{/privacy}","received_events_url":"https://api.github.com/users/ilexp/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":2,"additions":20,"deletions":11,"changed_files":1}}