{"action":"closed","number":13,"pull_request":{"url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/pulls/13","id":54749947,"html_url":"https://github.com/lucidspriter/SpriterPlusPlus/pull/13","diff_url":"https://github.com/lucidspriter/SpriterPlusPlus/pull/13.diff","patch_url":"https://github.com/lucidspriter/SpriterPlusPlus/pull/13.patch","issue_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/issues/13","number":13,"state":"closed","locked":false,"title":"Eliminate redundant setupInstance call","user":{"login":"jeremyjh","id":90510,"avatar_url":"https://avatars.githubusercontent.com/u/90510?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremyjh","html_url":"https://github.com/jeremyjh","followers_url":"https://api.github.com/users/jeremyjh/followers","following_url":"https://api.github.com/users/jeremyjh/following{/other_user}","gists_url":"https://api.github.com/users/jeremyjh/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremyjh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremyjh/subscriptions","organizations_url":"https://api.github.com/users/jeremyjh/orgs","repos_url":"https://api.github.com/users/jeremyjh/repos","events_url":"https://api.github.com/users/jeremyjh/events{/privacy}","received_events_url":"https://api.github.com/users/jeremyjh/received_events","type":"User","site_admin":false},"body":"EntityInstanceData constructor already calls entity->setupInstance, it is not needed in EntityInstance constructor and is causing error messages to be logged e.g.:\r\n\r\n```\r\nSpriterPlusPlus error: EntityInstanceData::setObjectInstance - object with id \"21\" already exists\r\nSpriterPlusPlus error: EntityInstanceData::setTagInstance - tag with id \"21\" already exists\r\n```","created_at":"2015-12-29T19:07:06Z","updated_at":"2016-01-02T04:53:56Z","closed_at":"2016-01-02T04:53:56Z","merged_at":"2016-01-02T04:53:56Z","merge_commit_sha":"d4f3ad24787ca5ded3abfcff3f37997fac97d08b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/pulls/13/commits","review_comments_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/pulls/13/comments","review_comment_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/issues/13/comments","statuses_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/statuses/264d9272c5739d0742386a80163d8d08760ece61","head":{"label":"jeremyjh:fix-entity-instance","ref":"fix-entity-instance","sha":"264d9272c5739d0742386a80163d8d08760ece61","user":{"login":"jeremyjh","id":90510,"avatar_url":"https://avatars.githubusercontent.com/u/90510?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremyjh","html_url":"https://github.com/jeremyjh","followers_url":"https://api.github.com/users/jeremyjh/followers","following_url":"https://api.github.com/users/jeremyjh/following{/other_user}","gists_url":"https://api.github.com/users/jeremyjh/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremyjh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremyjh/subscriptions","organizations_url":"https://api.github.com/users/jeremyjh/orgs","repos_url":"https://api.github.com/users/jeremyjh/repos","events_url":"https://api.github.com/users/jeremyjh/events{/privacy}","received_events_url":"https://api.github.com/users/jeremyjh/received_events","type":"User","site_admin":false},"repo":{"id":47734314,"name":"SpriterPlusPlus","full_name":"jeremyjh/SpriterPlusPlus","owner":{"login":"jeremyjh","id":90510,"avatar_url":"https://avatars.githubusercontent.com/u/90510?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremyjh","html_url":"https://github.com/jeremyjh","followers_url":"https://api.github.com/users/jeremyjh/followers","following_url":"https://api.github.com/users/jeremyjh/following{/other_user}","gists_url":"https://api.github.com/users/jeremyjh/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremyjh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremyjh/subscriptions","organizations_url":"https://api.github.com/users/jeremyjh/orgs","repos_url":"https://api.github.com/users/jeremyjh/repos","events_url":"https://api.github.com/users/jeremyjh/events{/privacy}","received_events_url":"https://api.github.com/users/jeremyjh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeremyjh/SpriterPlusPlus","description":"a C++ implementation to play back Spriter animations","fork":true,"url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus","forks_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/forks","keys_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/teams","hooks_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/hooks","issue_events_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/issues/events{/number}","events_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/events","assignees_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/assignees{/user}","branches_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/branches{/branch}","tags_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/tags","blobs_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/statuses/{sha}","languages_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/languages","stargazers_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/stargazers","contributors_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/contributors","subscribers_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/subscribers","subscription_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/subscription","commits_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/contents/{+path}","compare_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/merges","archive_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/downloads","issues_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/issues{/number}","pulls_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/pulls{/number}","milestones_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/milestones{/number}","notifications_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/labels{/name}","releases_url":"https://api.github.com/repos/jeremyjh/SpriterPlusPlus/releases{/id}","created_at":"2015-12-10T03:04:53Z","updated_at":"2015-12-10T03:04:59Z","pushed_at":"2015-12-29T19:04:55Z","git_url":"git://github.com/jeremyjh/SpriterPlusPlus.git","ssh_url":"git@github.com:jeremyjh/SpriterPlusPlus.git","clone_url":"https://github.com/jeremyjh/SpriterPlusPlus.git","svn_url":"https://github.com/jeremyjh/SpriterPlusPlus","homepage":null,"size":22604,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"lucidspriter:master","ref":"master","sha":"d93d0c66763f8370d4a201a05543e8c39ddbb3ed","user":{"login":"lucidspriter","id":1701058,"avatar_url":"https://avatars.githubusercontent.com/u/1701058?v=3","gravatar_id":"","url":"https://api.github.com/users/lucidspriter","html_url":"https://github.com/lucidspriter","followers_url":"https://api.github.com/users/lucidspriter/followers","following_url":"https://api.github.com/users/lucidspriter/following{/other_user}","gists_url":"https://api.github.com/users/lucidspriter/gists{/gist_id}","starred_url":"https://api.github.com/users/lucidspriter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucidspriter/subscriptions","organizations_url":"https://api.github.com/users/lucidspriter/orgs","repos_url":"https://api.github.com/users/lucidspriter/repos","events_url":"https://api.github.com/users/lucidspriter/events{/privacy}","received_events_url":"https://api.github.com/users/lucidspriter/received_events","type":"User","site_admin":false},"repo":{"id":45448363,"name":"SpriterPlusPlus","full_name":"lucidspriter/SpriterPlusPlus","owner":{"login":"lucidspriter","id":1701058,"avatar_url":"https://avatars.githubusercontent.com/u/1701058?v=3","gravatar_id":"","url":"https://api.github.com/users/lucidspriter","html_url":"https://github.com/lucidspriter","followers_url":"https://api.github.com/users/lucidspriter/followers","following_url":"https://api.github.com/users/lucidspriter/following{/other_user}","gists_url":"https://api.github.com/users/lucidspriter/gists{/gist_id}","starred_url":"https://api.github.com/users/lucidspriter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucidspriter/subscriptions","organizations_url":"https://api.github.com/users/lucidspriter/orgs","repos_url":"https://api.github.com/users/lucidspriter/repos","events_url":"https://api.github.com/users/lucidspriter/events{/privacy}","received_events_url":"https://api.github.com/users/lucidspriter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lucidspriter/SpriterPlusPlus","description":"a C++ implementation to play back Spriter animations","fork":false,"url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus","forks_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/forks","keys_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/teams","hooks_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/hooks","issue_events_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/issues/events{/number}","events_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/events","assignees_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/assignees{/user}","branches_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/branches{/branch}","tags_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/tags","blobs_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/git/refs{/sha}","trees_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/statuses/{sha}","languages_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/languages","stargazers_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/stargazers","contributors_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/contributors","subscribers_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/subscribers","subscription_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/subscription","commits_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/commits{/sha}","git_commits_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/git/commits{/sha}","comments_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/comments{/number}","issue_comment_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/issues/comments{/number}","contents_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/contents/{+path}","compare_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/merges","archive_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/downloads","issues_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/issues{/number}","pulls_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/pulls{/number}","milestones_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/milestones{/number}","notifications_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/labels{/name}","releases_url":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/releases{/id}","created_at":"2015-11-03T07:09:45Z","updated_at":"2015-12-28T14:13:14Z","pushed_at":"2016-01-02T04:53:56Z","git_url":"git://github.com/lucidspriter/SpriterPlusPlus.git","ssh_url":"git@github.com:lucidspriter/SpriterPlusPlus.git","clone_url":"https://github.com/lucidspriter/SpriterPlusPlus.git","svn_url":"https://github.com/lucidspriter/SpriterPlusPlus","homepage":null,"size":22632,"stargazers_count":16,"watchers_count":16,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":1,"forks":9,"open_issues":1,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/pulls/13"},"html":{"href":"https://github.com/lucidspriter/SpriterPlusPlus/pull/13"},"issue":{"href":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/issues/13"},"comments":{"href":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/lucidspriter/SpriterPlusPlus/statuses/264d9272c5739d0742386a80163d8d08760ece61"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"lucidspriter","id":1701058,"avatar_url":"https://avatars.githubusercontent.com/u/1701058?v=3","gravatar_id":"","url":"https://api.github.com/users/lucidspriter","html_url":"https://github.com/lucidspriter","followers_url":"https://api.github.com/users/lucidspriter/followers","following_url":"https://api.github.com/users/lucidspriter/following{/other_user}","gists_url":"https://api.github.com/users/lucidspriter/gists{/gist_id}","starred_url":"https://api.github.com/users/lucidspriter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucidspriter/subscriptions","organizations_url":"https://api.github.com/users/lucidspriter/orgs","repos_url":"https://api.github.com/users/lucidspriter/repos","events_url":"https://api.github.com/users/lucidspriter/events{/privacy}","received_events_url":"https://api.github.com/users/lucidspriter/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":0,"deletions":1,"changed_files":1}}