{"action":"created","comment":{"url":"https://api.github.com/repos/OpenSpace/OpenSpace/pulls/comments/111282681","pull_request_review_id":32517635,"id":111282681,"diff_hunk":"@@ -112,6 +113,22 @@ Renderable::Renderable(const ghoul::Dictionary& dictionary)\n     dictionary.getValue(keyStart, _startTime);\n     dictionary.getValue(keyEnd, _endTime);\n \n+    std::string tagName;\n+    ghoul::Dictionary tagNames;\n+    if (dictionary.hasKeyAndValue<std::string>(KeyTag)) {\n+        dictionary.getValue(KeyTag, tagName);\n+        if (! tagName.empty())\n+            addTag(tagName);","path":"src/rendering/renderable.cpp","position":17,"original_position":17,"commit_id":"d66561a1d31c329b6d4df705a1ab412eda5fed91","original_commit_id":"d66561a1d31c329b6d4df705a1ab412eda5fed91","user":{"login":"GPayne","id":3966290,"avatar_url":"https://avatars3.githubusercontent.com/u/3966290?v=3","gravatar_id":"","url":"https://api.github.com/users/GPayne","html_url":"https://github.com/GPayne","followers_url":"https://api.github.com/users/GPayne/followers","following_url":"https://api.github.com/users/GPayne/following{/other_user}","gists_url":"https://api.github.com/users/GPayne/gists{/gist_id}","starred_url":"https://api.github.com/users/GPayne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GPayne/subscriptions","organizations_url":"https://api.github.com/users/GPayne/orgs","repos_url":"https://api.github.com/users/GPayne/repos","events_url":"https://api.github.com/users/GPayne/events{/privacy}","received_events_url":"https://api.github.com/users/GPayne/received_events","type":"User","site_admin":false},"body":"Done","created_at":"2017-04-12T23:27:47Z","updated_at":"2017-04-12T23:27:47Z","html_url":"https://github.com/OpenSpace/OpenSpace/pull/285#discussion_r111282681","pull_request_url":"https://api.github.com/repos/OpenSpace/OpenSpace/pulls/285","_links":{"self":{"href":"https://api.github.com/repos/OpenSpace/OpenSpace/pulls/comments/111282681"},"html":{"href":"https://github.com/OpenSpace/OpenSpace/pull/285#discussion_r111282681"},"pull_request":{"href":"https://api.github.com/repos/OpenSpace/OpenSpace/pulls/285"}}},"pull_request":{"url":"https://api.github.com/repos/OpenSpace/OpenSpace/pulls/285","id":115200091,"html_url":"https://github.com/OpenSpace/OpenSpace/pull/285","diff_url":"https://github.com/OpenSpace/OpenSpace/pull/285.diff","patch_url":"https://github.com/OpenSpace/OpenSpace/pull/285.patch","issue_url":"https://api.github.com/repos/OpenSpace/OpenSpace/issues/285","number":285,"state":"open","locked":false,"title":"Feature/grouping","user":{"login":"GPayne","id":3966290,"avatar_url":"https://avatars3.githubusercontent.com/u/3966290?v=3","gravatar_id":"","url":"https://api.github.com/users/GPayne","html_url":"https://github.com/GPayne","followers_url":"https://api.github.com/users/GPayne/followers","following_url":"https://api.github.com/users/GPayne/following{/other_user}","gists_url":"https://api.github.com/users/GPayne/gists{/gist_id}","starred_url":"https://api.github.com/users/GPayne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GPayne/subscriptions","organizations_url":"https://api.github.com/users/GPayne/orgs","repos_url":"https://api.github.com/users/GPayne/repos","events_url":"https://api.github.com/users/GPayne/events{/privacy}","received_events_url":"https://api.github.com/users/GPayne/received_events","type":"User","site_admin":false},"body":"This feature allows for assigning one or more tags to an object in a scene .mod file. All property owners with this tag are then part of a group with that tag's name. For example, manipulating the scale of a single planet looks like:\r\n`openspace.setPropertyValue(\"Earth.Scale.scale\", 5000)`\r\nbut using the following command (where curly brackets represent a tag name), all objects with the `planet` tag will be affected by the scale command:\r\n`openspace.setPropertyValue(\"{planet}.Scale.scale\", 5000)`\r\nThis holds true for the functions `setPropertyValueSingle` and `setPropertyValueRegex` as well.\r\n\r\nTags can be added to .mod files like so:\r\n`Tag = \"singleTag\",`\r\n`Tag = {\"firstTag\", \"secondTag\"},`","created_at":"2017-04-10T21:51:26Z","updated_at":"2017-04-12T23:27:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/OpenSpace/OpenSpace/pulls/285/commits","review_comments_url":"https://api.github.com/repos/OpenSpace/OpenSpace/pulls/285/comments","review_comment_url":"https://api.github.com/repos/OpenSpace/OpenSpace/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenSpace/OpenSpace/issues/285/comments","statuses_url":"https://api.github.com/repos/OpenSpace/OpenSpace/statuses/d66561a1d31c329b6d4df705a1ab412eda5fed91","head":{"label":"OpenSpace:feature/grouping","ref":"feature/grouping","sha":"d66561a1d31c329b6d4df705a1ab412eda5fed91","user":{"login":"OpenSpace","id":9393286,"avatar_url":"https://avatars2.githubusercontent.com/u/9393286?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenSpace","html_url":"https://github.com/OpenSpace","followers_url":"https://api.github.com/users/OpenSpace/followers","following_url":"https://api.github.com/users/OpenSpace/following{/other_user}","gists_url":"https://api.github.com/users/OpenSpace/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSpace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSpace/subscriptions","organizations_url":"https://api.github.com/users/OpenSpace/orgs","repos_url":"https://api.github.com/users/OpenSpace/repos","events_url":"https://api.github.com/users/OpenSpace/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSpace/received_events","type":"Organization","site_admin":false},"repo":{"id":38380543,"name":"OpenSpace","full_name":"OpenSpace/OpenSpace","owner":{"login":"OpenSpace","id":9393286,"avatar_url":"https://avatars2.githubusercontent.com/u/9393286?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenSpace","html_url":"https://github.com/OpenSpace","followers_url":"https://api.github.com/users/OpenSpace/followers","following_url":"https://api.github.com/users/OpenSpace/following{/other_user}","gists_url":"https://api.github.com/users/OpenSpace/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSpace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSpace/subscriptions","organizations_url":"https://api.github.com/users/OpenSpace/orgs","repos_url":"https://api.github.com/users/OpenSpace/repos","events_url":"https://api.github.com/users/OpenSpace/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSpace/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenSpace/OpenSpace","description":"This is the official GitHub repository for OpenSpace: an open source astrovisualization project. For instructions on how to build and run OpenSpace, see the Getting Started Guides on the wiki page.","fork":false,"url":"https://api.github.com/repos/OpenSpace/OpenSpace","forks_url":"https://api.github.com/repos/OpenSpace/OpenSpace/forks","keys_url":"https://api.github.com/repos/OpenSpace/OpenSpace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenSpace/OpenSpace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenSpace/OpenSpace/teams","hooks_url":"https://api.github.com/repos/OpenSpace/OpenSpace/hooks","issue_events_url":"https://api.github.com/repos/OpenSpace/OpenSpace/issues/events{/number}","events_url":"https://api.github.com/repos/OpenSpace/OpenSpace/events","assignees_url":"https://api.github.com/repos/OpenSpace/OpenSpace/assignees{/user}","branches_url":"https://api.github.com/repos/OpenSpace/OpenSpace/branches{/branch}","tags_url":"https://api.github.com/repos/OpenSpace/OpenSpace/tags","blobs_url":"https://api.github.com/repos/OpenSpace/OpenSpace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenSpace/OpenSpace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenSpace/OpenSpace/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenSpace/OpenSpace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenSpace/OpenSpace/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenSpace/OpenSpace/languages","stargazers_url":"https://api.github.com/repos/OpenSpace/OpenSpace/stargazers","contributors_url":"https://api.github.com/repos/OpenSpace/OpenSpace/contributors","subscribers_url":"https://api.github.com/repos/OpenSpace/OpenSpace/subscribers","subscription_url":"https://api.github.com/repos/OpenSpace/OpenSpace/subscription","commits_url":"https://api.github.com/repos/OpenSpace/OpenSpace/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenSpace/OpenSpace/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenSpace/OpenSpace/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenSpace/OpenSpace/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenSpace/OpenSpace/contents/{+path}","compare_url":"https://api.github.com/repos/OpenSpace/OpenSpace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenSpace/OpenSpace/merges","archive_url":"https://api.github.com/repos/OpenSpace/OpenSpace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenSpace/OpenSpace/downloads","issues_url":"https://api.github.com/repos/OpenSpace/OpenSpace/issues{/number}","pulls_url":"https://api.github.com/repos/OpenSpace/OpenSpace/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenSpace/OpenSpace/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenSpace/OpenSpace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenSpace/OpenSpace/labels{/name}","releases_url":"https://api.github.com/repos/OpenSpace/OpenSpace/releases{/id}","deployments_url":"https://api.github.com/repos/OpenSpace/OpenSpace/deployments","created_at":"2015-07-01T15:59:54Z","updated_at":"2017-04-11T01:21:37Z","pushed_at":"2017-04-12T22:55:01Z","git_url":"git://github.com/OpenSpace/OpenSpace.git","ssh_url":"git@github.com:OpenSpace/OpenSpace.git","clone_url":"https://github.com/OpenSpace/OpenSpace.git","svn_url":"https://github.com/OpenSpace/OpenSpace","homepage":"http://openspaceproject.com","size":224205,"stargazers_count":45,"watchers_count":45,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":141,"forks":10,"open_issues":141,"watchers":45,"default_branch":"master"}},"base":{"label":"OpenSpace:master","ref":"master","sha":"51b420f2c41ac48d332faa953dea4f4e8381c5df","user":{"login":"OpenSpace","id":9393286,"avatar_url":"https://avatars2.githubusercontent.com/u/9393286?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenSpace","html_url":"https://github.com/OpenSpace","followers_url":"https://api.github.com/users/OpenSpace/followers","following_url":"https://api.github.com/users/OpenSpace/following{/other_user}","gists_url":"https://api.github.com/users/OpenSpace/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSpace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSpace/subscriptions","organizations_url":"https://api.github.com/users/OpenSpace/orgs","repos_url":"https://api.github.com/users/OpenSpace/repos","events_url":"https://api.github.com/users/OpenSpace/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSpace/received_events","type":"Organization","site_admin":false},"repo":{"id":38380543,"name":"OpenSpace","full_name":"OpenSpace/OpenSpace","owner":{"login":"OpenSpace","id":9393286,"avatar_url":"https://avatars2.githubusercontent.com/u/9393286?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenSpace","html_url":"https://github.com/OpenSpace","followers_url":"https://api.github.com/users/OpenSpace/followers","following_url":"https://api.github.com/users/OpenSpace/following{/other_user}","gists_url":"https://api.github.com/users/OpenSpace/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSpace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSpace/subscriptions","organizations_url":"https://api.github.com/users/OpenSpace/orgs","repos_url":"https://api.github.com/users/OpenSpace/repos","events_url":"https://api.github.com/users/OpenSpace/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSpace/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenSpace/OpenSpace","description":"This is the official GitHub repository for OpenSpace: an open source astrovisualization project. For instructions on how to build and run OpenSpace, see the Getting Started Guides on the wiki page.","fork":false,"url":"https://api.github.com/repos/OpenSpace/OpenSpace","forks_url":"https://api.github.com/repos/OpenSpace/OpenSpace/forks","keys_url":"https://api.github.com/repos/OpenSpace/OpenSpace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenSpace/OpenSpace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenSpace/OpenSpace/teams","hooks_url":"https://api.github.com/repos/OpenSpace/OpenSpace/hooks","issue_events_url":"https://api.github.com/repos/OpenSpace/OpenSpace/issues/events{/number}","events_url":"https://api.github.com/repos/OpenSpace/OpenSpace/events","assignees_url":"https://api.github.com/repos/OpenSpace/OpenSpace/assignees{/user}","branches_url":"https://api.github.com/repos/OpenSpace/OpenSpace/branches{/branch}","tags_url":"https://api.github.com/repos/OpenSpace/OpenSpace/tags","blobs_url":"https://api.github.com/repos/OpenSpace/OpenSpace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenSpace/OpenSpace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenSpace/OpenSpace/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenSpace/OpenSpace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenSpace/OpenSpace/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenSpace/OpenSpace/languages","stargazers_url":"https://api.github.com/repos/OpenSpace/OpenSpace/stargazers","contributors_url":"https://api.github.com/repos/OpenSpace/OpenSpace/contributors","subscribers_url":"https://api.github.com/repos/OpenSpace/OpenSpace/subscribers","subscription_url":"https://api.github.com/repos/OpenSpace/OpenSpace/subscription","commits_url":"https://api.github.com/repos/OpenSpace/OpenSpace/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenSpace/OpenSpace/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenSpace/OpenSpace/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenSpace/OpenSpace/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenSpace/OpenSpace/contents/{+path}","compare_url":"https://api.github.com/repos/OpenSpace/OpenSpace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenSpace/OpenSpace/merges","archive_url":"https://api.github.com/repos/OpenSpace/OpenSpace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenSpace/OpenSpace/downloads","issues_url":"https://api.github.com/repos/OpenSpace/OpenSpace/issues{/number}","pulls_url":"https://api.github.com/repos/OpenSpace/OpenSpace/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenSpace/OpenSpace/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenSpace/OpenSpace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenSpace/OpenSpace/labels{/name}","releases_url":"https://api.github.com/repos/OpenSpace/OpenSpace/releases{/id}","deployments_url":"https://api.github.com/repos/OpenSpace/OpenSpace/deployments","created_at":"2015-07-01T15:59:54Z","updated_at":"2017-04-11T01:21:37Z","pushed_at":"2017-04-12T22:55:01Z","git_url":"git://github.com/OpenSpace/OpenSpace.git","ssh_url":"git@github.com:OpenSpace/OpenSpace.git","clone_url":"https://github.com/OpenSpace/OpenSpace.git","svn_url":"https://github.com/OpenSpace/OpenSpace","homepage":"http://openspaceproject.com","size":224205,"stargazers_count":45,"watchers_count":45,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":141,"forks":10,"open_issues":141,"watchers":45,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenSpace/OpenSpace/pulls/285"},"html":{"href":"https://github.com/OpenSpace/OpenSpace/pull/285"},"issue":{"href":"https://api.github.com/repos/OpenSpace/OpenSpace/issues/285"},"comments":{"href":"https://api.github.com/repos/OpenSpace/OpenSpace/issues/285/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenSpace/OpenSpace/pulls/285/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenSpace/OpenSpace/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenSpace/OpenSpace/pulls/285/commits"},"statuses":{"href":"https://api.github.com/repos/OpenSpace/OpenSpace/statuses/d66561a1d31c329b6d4df705a1ab412eda5fed91"}}}}
{"actor":{"display_login":"GPayne"}}