{"action":"created","comment":{"url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/pulls/comments/77389207","id":77389207,"diff_hunk":"@@ -311,6 +372,28 @@ spAttachment* spSkeleton_getAttachmentForSlotIndex (const spSkeleton* self, int\n \treturn 0;\n }\n \n+spAttachment* spSkeleton_getAttachmentByName (const spSkeleton* self, const char* attachmentName) \r\n+{\r\n+\tif (self->skin) {\r\n+\t\tspAttachment *attachment = spSkin_getAttachment2(self->skin, attachmentName);\r\n+\t\tif (attachment) return attachment;\r\n+\t}\r\n+\tif (self->data->defaultSkin) {\r\n+\t\tspAttachment *attachment = spSkin_getAttachment2(self->data->defaultSkin, attachmentName);\r\n+\t\tif (attachment) return attachment;\r\n+\t}\r\n+\treturn 0;\r\n+}\r\n+\n+spAttachment* spSkeleton_getAttachmentFromSkin (const spSkeleton* self, const spSkin *skin, const char* attachmentName) \r","path":"spine-c/src/spine/Skeleton.c","position":92,"original_position":92,"commit_id":"734e4d18d978e4035f8711c11b761e82e7327703","original_commit_id":"734e4d18d978e4035f8711c11b761e82e7327703","user":{"login":"Darky-Lucera","id":9335325,"avatar_url":"https://avatars.githubusercontent.com/u/9335325?v=3","gravatar_id":"","url":"https://api.github.com/users/Darky-Lucera","html_url":"https://github.com/Darky-Lucera","followers_url":"https://api.github.com/users/Darky-Lucera/followers","following_url":"https://api.github.com/users/Darky-Lucera/following{/other_user}","gists_url":"https://api.github.com/users/Darky-Lucera/gists{/gist_id}","starred_url":"https://api.github.com/users/Darky-Lucera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Darky-Lucera/subscriptions","organizations_url":"https://api.github.com/users/Darky-Lucera/orgs","repos_url":"https://api.github.com/users/Darky-Lucera/repos","events_url":"https://api.github.com/users/Darky-Lucera/events{/privacy}","received_events_url":"https://api.github.com/users/Darky-Lucera/received_events","type":"User","site_admin":false},"body":"Yes, maybe spSkin is a better place","created_at":"2016-09-02T18:10:03Z","updated_at":"2016-09-02T18:10:03Z","html_url":"https://github.com/EsotericSoftware/spine-runtimes/pull/372#discussion_r77389207","pull_request_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/pulls/372","_links":{"self":{"href":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/pulls/comments/77389207"},"html":{"href":"https://github.com/EsotericSoftware/spine-runtimes/pull/372#discussion_r77389207"},"pull_request":{"href":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/pulls/372"}}},"pull_request":{"url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/pulls/372","id":29834366,"html_url":"https://github.com/EsotericSoftware/spine-runtimes/pull/372","diff_url":"https://github.com/EsotericSoftware/spine-runtimes/pull/372.diff","patch_url":"https://github.com/EsotericSoftware/spine-runtimes/pull/372.patch","issue_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/issues/372","number":372,"state":"open","locked":false,"title":"[c] Allow to create slots and bones on fly","user":{"login":"Darky-Lucera","id":9335325,"avatar_url":"https://avatars.githubusercontent.com/u/9335325?v=3","gravatar_id":"","url":"https://api.github.com/users/Darky-Lucera","html_url":"https://github.com/Darky-Lucera","followers_url":"https://api.github.com/users/Darky-Lucera/followers","following_url":"https://api.github.com/users/Darky-Lucera/following{/other_user}","gists_url":"https://api.github.com/users/Darky-Lucera/gists{/gist_id}","starred_url":"https://api.github.com/users/Darky-Lucera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Darky-Lucera/subscriptions","organizations_url":"https://api.github.com/users/Darky-Lucera/orgs","repos_url":"https://api.github.com/users/Darky-Lucera/repos","events_url":"https://api.github.com/users/Darky-Lucera/events{/privacy}","received_events_url":"https://api.github.com/users/Darky-Lucera/received_events","type":"User","site_admin":false},"body":"Allow to create slots and bones on fly, get attachments by name, and set attachments from other skins\r\n\r\nAdded functions:\r\n - Skeleton: spSkeleton_addBone, spSkeleton_addSlot, spSkeleton_getAttachmentByName, spSkeleton_setAttachment2, spSkeleton_setAttachmentFromSkin\r\n - Skin: spSkin_getAttachment2","created_at":"2015-02-23T18:50:07Z","updated_at":"2016-09-02T18:10:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/pulls/372/commits","review_comments_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/pulls/372/comments","review_comment_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/issues/372/comments","statuses_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/statuses/734e4d18d978e4035f8711c11b761e82e7327703","head":{"label":"Darky-Lucera:AddSlotsAndBonesOnFly","ref":"AddSlotsAndBonesOnFly","sha":"734e4d18d978e4035f8711c11b761e82e7327703","user":{"login":"Darky-Lucera","id":9335325,"avatar_url":"https://avatars.githubusercontent.com/u/9335325?v=3","gravatar_id":"","url":"https://api.github.com/users/Darky-Lucera","html_url":"https://github.com/Darky-Lucera","followers_url":"https://api.github.com/users/Darky-Lucera/followers","following_url":"https://api.github.com/users/Darky-Lucera/following{/other_user}","gists_url":"https://api.github.com/users/Darky-Lucera/gists{/gist_id}","starred_url":"https://api.github.com/users/Darky-Lucera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Darky-Lucera/subscriptions","organizations_url":"https://api.github.com/users/Darky-Lucera/orgs","repos_url":"https://api.github.com/users/Darky-Lucera/repos","events_url":"https://api.github.com/users/Darky-Lucera/events{/privacy}","received_events_url":"https://api.github.com/users/Darky-Lucera/received_events","type":"User","site_admin":false},"repo":{"id":31012766,"name":"spine-runtimes","full_name":"Darky-Lucera/spine-runtimes","owner":{"login":"Darky-Lucera","id":9335325,"avatar_url":"https://avatars.githubusercontent.com/u/9335325?v=3","gravatar_id":"","url":"https://api.github.com/users/Darky-Lucera","html_url":"https://github.com/Darky-Lucera","followers_url":"https://api.github.com/users/Darky-Lucera/followers","following_url":"https://api.github.com/users/Darky-Lucera/following{/other_user}","gists_url":"https://api.github.com/users/Darky-Lucera/gists{/gist_id}","starred_url":"https://api.github.com/users/Darky-Lucera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Darky-Lucera/subscriptions","organizations_url":"https://api.github.com/users/Darky-Lucera/orgs","repos_url":"https://api.github.com/users/Darky-Lucera/repos","events_url":"https://api.github.com/users/Darky-Lucera/events{/privacy}","received_events_url":"https://api.github.com/users/Darky-Lucera/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Darky-Lucera/spine-runtimes","description":"2D skeletal animation runtimes for Spine.","fork":true,"url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes","forks_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/forks","keys_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/teams","hooks_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/hooks","issue_events_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/issues/events{/number}","events_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/events","assignees_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/assignees{/user}","branches_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/branches{/branch}","tags_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/tags","blobs_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/git/refs{/sha}","trees_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/statuses/{sha}","languages_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/languages","stargazers_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/stargazers","contributors_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/contributors","subscribers_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/subscribers","subscription_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/subscription","commits_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/commits{/sha}","git_commits_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/git/commits{/sha}","comments_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/comments{/number}","issue_comment_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/issues/comments{/number}","contents_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/contents/{+path}","compare_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/merges","archive_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/downloads","issues_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/issues{/number}","pulls_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/pulls{/number}","milestones_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/milestones{/number}","notifications_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/labels{/name}","releases_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/releases{/id}","deployments_url":"https://api.github.com/repos/Darky-Lucera/spine-runtimes/deployments","created_at":"2015-02-19T11:41:05Z","updated_at":"2015-04-21T11:17:56Z","pushed_at":"2015-04-21T11:17:56Z","git_url":"git://github.com/Darky-Lucera/spine-runtimes.git","ssh_url":"git@github.com:Darky-Lucera/spine-runtimes.git","clone_url":"https://github.com/Darky-Lucera/spine-runtimes.git","svn_url":"https://github.com/Darky-Lucera/spine-runtimes","homepage":null,"size":20384,"stargazers_count":1,"watchers_count":1,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"EsotericSoftware:master","ref":"master","sha":"67a639d12a2108b421b6df8f7b159e620c674ac3","user":{"login":"EsotericSoftware","id":3641958,"avatar_url":"https://avatars.githubusercontent.com/u/3641958?v=3","gravatar_id":"","url":"https://api.github.com/users/EsotericSoftware","html_url":"https://github.com/EsotericSoftware","followers_url":"https://api.github.com/users/EsotericSoftware/followers","following_url":"https://api.github.com/users/EsotericSoftware/following{/other_user}","gists_url":"https://api.github.com/users/EsotericSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/EsotericSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EsotericSoftware/subscriptions","organizations_url":"https://api.github.com/users/EsotericSoftware/orgs","repos_url":"https://api.github.com/users/EsotericSoftware/repos","events_url":"https://api.github.com/users/EsotericSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/EsotericSoftware/received_events","type":"Organization","site_admin":false},"repo":{"id":8302181,"name":"spine-runtimes","full_name":"EsotericSoftware/spine-runtimes","owner":{"login":"EsotericSoftware","id":3641958,"avatar_url":"https://avatars.githubusercontent.com/u/3641958?v=3","gravatar_id":"","url":"https://api.github.com/users/EsotericSoftware","html_url":"https://github.com/EsotericSoftware","followers_url":"https://api.github.com/users/EsotericSoftware/followers","following_url":"https://api.github.com/users/EsotericSoftware/following{/other_user}","gists_url":"https://api.github.com/users/EsotericSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/EsotericSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EsotericSoftware/subscriptions","organizations_url":"https://api.github.com/users/EsotericSoftware/orgs","repos_url":"https://api.github.com/users/EsotericSoftware/repos","events_url":"https://api.github.com/users/EsotericSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/EsotericSoftware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/EsotericSoftware/spine-runtimes","description":"2D skeletal animation runtimes for Spine.","fork":false,"url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes","forks_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/forks","keys_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/teams","hooks_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/hooks","issue_events_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/issues/events{/number}","events_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/events","assignees_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/assignees{/user}","branches_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/branches{/branch}","tags_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/tags","blobs_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/git/refs{/sha}","trees_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/statuses/{sha}","languages_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/languages","stargazers_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/stargazers","contributors_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/contributors","subscribers_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/subscribers","subscription_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/subscription","commits_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/commits{/sha}","git_commits_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/git/commits{/sha}","comments_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/comments{/number}","issue_comment_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/issues/comments{/number}","contents_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/contents/{+path}","compare_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/merges","archive_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/downloads","issues_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/issues{/number}","pulls_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/pulls{/number}","milestones_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/milestones{/number}","notifications_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/labels{/name}","releases_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/releases{/id}","deployments_url":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/deployments","created_at":"2013-02-19T23:49:37Z","updated_at":"2016-09-02T15:28:39Z","pushed_at":"2016-09-02T14:55:21Z","git_url":"git://github.com/EsotericSoftware/spine-runtimes.git","ssh_url":"git@github.com:EsotericSoftware/spine-runtimes.git","clone_url":"https://github.com/EsotericSoftware/spine-runtimes.git","svn_url":"https://github.com/EsotericSoftware/spine-runtimes","homepage":null,"size":66141,"stargazers_count":1360,"watchers_count":1360,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1325,"mirror_url":null,"open_issues_count":34,"forks":1325,"open_issues":34,"watchers":1360,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/pulls/372"},"html":{"href":"https://github.com/EsotericSoftware/spine-runtimes/pull/372"},"issue":{"href":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/issues/372"},"comments":{"href":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/issues/372/comments"},"review_comments":{"href":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/pulls/372/comments"},"review_comment":{"href":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/pulls/372/commits"},"statuses":{"href":"https://api.github.com/repos/EsotericSoftware/spine-runtimes/statuses/734e4d18d978e4035f8711c11b761e82e7327703"}}}}
{"actor":{"display_login":"Darky-Lucera"}}