{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/pulls/comments/76692977","id":76692977,"diff_hunk":"@@ -31,11 +76,22 @@ void OnSelect()\n                 if (placing)\n                 {\n                     SpatialMappingManager.Instance.DrawVisualMeshes = true;\n+\n+                    Debug.Log(gameObject.name + \" : \" + \"Removing existing world anchor if any.\");\n+\n+                    // Remove existing world anchor when moving an object.\n+                    DestroyImmediate(gameObject.GetComponent<WorldAnchor>());\n+\n+                    // Delete existing world anchor from anchor store when moving an object.                    \n+                    anchorStore.Delete(SavedAnchorFriendlyName);","path":"Assets/HoloToolkit/SpatialMapping/Scripts/TapToPlace.cs","position":76,"original_position":76,"commit_id":"5ceaf243037589b56f40a58e3d433f6003912eb4","original_commit_id":"5ceaf243037589b56f40a58e3d433f6003912eb4","user":{"login":"NeerajW","id":13281538,"avatar_url":"https://avatars.githubusercontent.com/u/13281538?v=3","gravatar_id":"","url":"https://api.github.com/users/NeerajW","html_url":"https://github.com/NeerajW","followers_url":"https://api.github.com/users/NeerajW/followers","following_url":"https://api.github.com/users/NeerajW/following{/other_user}","gists_url":"https://api.github.com/users/NeerajW/gists{/gist_id}","starred_url":"https://api.github.com/users/NeerajW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NeerajW/subscriptions","organizations_url":"https://api.github.com/users/NeerajW/orgs","repos_url":"https://api.github.com/users/NeerajW/repos","events_url":"https://api.github.com/users/NeerajW/events{/privacy}","received_events_url":"https://api.github.com/users/NeerajW/received_events","type":"User","site_admin":false},"body":"Since this code is not tied to any events technically yes it possible if the user is quick enough. But I have never measured those ticks to know for sure. Do you have any recommendations?","created_at":"2016-08-29T21:40:52Z","updated_at":"2016-08-29T21:40:52Z","html_url":"https://github.com/Microsoft/HoloToolkit-Unity/pull/191#discussion_r76692977","pull_request_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/pulls/191","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/pulls/comments/76692977"},"html":{"href":"https://github.com/Microsoft/HoloToolkit-Unity/pull/191#discussion_r76692977"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/pulls/191"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/pulls/191","id":83162293,"html_url":"https://github.com/Microsoft/HoloToolkit-Unity/pull/191","diff_url":"https://github.com/Microsoft/HoloToolkit-Unity/pull/191.diff","patch_url":"https://github.com/Microsoft/HoloToolkit-Unity/pull/191.patch","issue_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/issues/191","number":191,"state":"open","locked":false,"title":"Add persistence WorldAnchor component to objects when placing them in the world","user":{"login":"NeerajW","id":13281538,"avatar_url":"https://avatars.githubusercontent.com/u/13281538?v=3","gravatar_id":"","url":"https://api.github.com/users/NeerajW","html_url":"https://github.com/NeerajW","followers_url":"https://api.github.com/users/NeerajW/followers","following_url":"https://api.github.com/users/NeerajW/following{/other_user}","gists_url":"https://api.github.com/users/NeerajW/gists{/gist_id}","starred_url":"https://api.github.com/users/NeerajW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NeerajW/subscriptions","organizations_url":"https://api.github.com/users/NeerajW/orgs","repos_url":"https://api.github.com/users/NeerajW/repos","events_url":"https://api.github.com/users/NeerajW/events{/privacy}","received_events_url":"https://api.github.com/users/NeerajW/received_events","type":"User","site_admin":false},"body":"Encourages good practice of adding WorldAnchor components when placing\r\nobjects in your world #129.","created_at":"2016-08-29T20:30:43Z","updated_at":"2016-08-29T21:40:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8025a95b6b649aa321f44e9095435d5a5bcd4459","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/pulls/191/commits","review_comments_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/pulls/191/comments","review_comment_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/issues/191/comments","statuses_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/statuses/5ceaf243037589b56f40a58e3d433f6003912eb4","head":{"label":"NeerajW:master","ref":"master","sha":"5ceaf243037589b56f40a58e3d433f6003912eb4","user":{"login":"NeerajW","id":13281538,"avatar_url":"https://avatars.githubusercontent.com/u/13281538?v=3","gravatar_id":"","url":"https://api.github.com/users/NeerajW","html_url":"https://github.com/NeerajW","followers_url":"https://api.github.com/users/NeerajW/followers","following_url":"https://api.github.com/users/NeerajW/following{/other_user}","gists_url":"https://api.github.com/users/NeerajW/gists{/gist_id}","starred_url":"https://api.github.com/users/NeerajW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NeerajW/subscriptions","organizations_url":"https://api.github.com/users/NeerajW/orgs","repos_url":"https://api.github.com/users/NeerajW/repos","events_url":"https://api.github.com/users/NeerajW/events{/privacy}","received_events_url":"https://api.github.com/users/NeerajW/received_events","type":"User","site_admin":false},"repo":{"id":57080783,"name":"HoloToolkit-Unity","full_name":"NeerajW/HoloToolkit-Unity","owner":{"login":"NeerajW","id":13281538,"avatar_url":"https://avatars.githubusercontent.com/u/13281538?v=3","gravatar_id":"","url":"https://api.github.com/users/NeerajW","html_url":"https://github.com/NeerajW","followers_url":"https://api.github.com/users/NeerajW/followers","following_url":"https://api.github.com/users/NeerajW/following{/other_user}","gists_url":"https://api.github.com/users/NeerajW/gists{/gist_id}","starred_url":"https://api.github.com/users/NeerajW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NeerajW/subscriptions","organizations_url":"https://api.github.com/users/NeerajW/orgs","repos_url":"https://api.github.com/users/NeerajW/repos","events_url":"https://api.github.com/users/NeerajW/events{/privacy}","received_events_url":"https://api.github.com/users/NeerajW/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NeerajW/HoloToolkit-Unity","description":"This is effectively part of the existing HoloToolkit, but is the repo that will contain all Unity specific components.","fork":true,"url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity","forks_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/forks","keys_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/teams","hooks_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/hooks","issue_events_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/issues/events{/number}","events_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/events","assignees_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/assignees{/user}","branches_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/branches{/branch}","tags_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/tags","blobs_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/git/refs{/sha}","trees_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/statuses/{sha}","languages_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/languages","stargazers_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/stargazers","contributors_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/contributors","subscribers_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/subscribers","subscription_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/subscription","commits_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/commits{/sha}","git_commits_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/git/commits{/sha}","comments_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/comments{/number}","issue_comment_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/issues/comments{/number}","contents_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/contents/{+path}","compare_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/merges","archive_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/downloads","issues_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/issues{/number}","pulls_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/pulls{/number}","milestones_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/milestones{/number}","notifications_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/labels{/name}","releases_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/releases{/id}","deployments_url":"https://api.github.com/repos/NeerajW/HoloToolkit-Unity/deployments","created_at":"2016-04-25T22:34:05Z","updated_at":"2016-04-25T22:34:06Z","pushed_at":"2016-08-29T20:30:04Z","git_url":"git://github.com/NeerajW/HoloToolkit-Unity.git","ssh_url":"git@github.com:NeerajW/HoloToolkit-Unity.git","clone_url":"https://github.com/NeerajW/HoloToolkit-Unity.git","svn_url":"https://github.com/NeerajW/HoloToolkit-Unity","homepage":"","size":39743,"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":"Microsoft:master","ref":"master","sha":"4842ea69f8a6beb5dc55b5fcc6d0beb4c3c3d64a","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":50605426,"name":"HoloToolkit-Unity","full_name":"Microsoft/HoloToolkit-Unity","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/HoloToolkit-Unity","description":"This is effectively part of the existing HoloToolkit, but is the repo that will contain all Unity specific components.","fork":false,"url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity","forks_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/forks","keys_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/teams","hooks_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/events","assignees_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/tags","blobs_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/languages","stargazers_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/subscription","commits_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/merges","archive_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/downloads","issues_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/deployments","created_at":"2016-01-28T18:54:58Z","updated_at":"2016-08-29T21:10:48Z","pushed_at":"2016-08-29T20:30:43Z","git_url":"git://github.com/Microsoft/HoloToolkit-Unity.git","ssh_url":"git@github.com:Microsoft/HoloToolkit-Unity.git","clone_url":"https://github.com/Microsoft/HoloToolkit-Unity.git","svn_url":"https://github.com/Microsoft/HoloToolkit-Unity","homepage":"","size":43204,"stargazers_count":230,"watchers_count":230,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":143,"mirror_url":null,"open_issues_count":24,"forks":143,"open_issues":24,"watchers":230,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/pulls/191"},"html":{"href":"https://github.com/Microsoft/HoloToolkit-Unity/pull/191"},"issue":{"href":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/issues/191"},"comments":{"href":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/issues/191/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/pulls/191/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/pulls/191/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/HoloToolkit-Unity/statuses/5ceaf243037589b56f40a58e3d433f6003912eb4"}}}}
{"actor":{"display_login":"NeerajW"}}