{"action":"created","comment":{"url":"https://api.github.com/repos/assimp/assimp/pulls/comments/50633833","id":50633833,"diff_hunk":"@@ -889,7 +889,7 @@ void SIBImporter::InternReadFile(const std::string& pFile,\n         node->mTransformation = obj.axis;\n \n         node->mNumMeshes = obj.meshCount;\n-        node->mMeshes = new unsigned[node->mNumMeshes];\n+\t\tnode->mMeshes = node->mNumMeshes ? new unsigned[node->mNumMeshes] : 0;","path":"code/SIBImporter.cpp","position":27,"original_position":27,"commit_id":"ae2cce0899db7c97b684a35e0f78e60168e23658","original_commit_id":"ae2cce0899db7c97b684a35e0f78e60168e23658","user":{"login":"kimkulling","id":2323156,"avatar_url":"https://avatars.githubusercontent.com/u/2323156?v=3","gravatar_id":"","url":"https://api.github.com/users/kimkulling","html_url":"https://github.com/kimkulling","followers_url":"https://api.github.com/users/kimkulling/followers","following_url":"https://api.github.com/users/kimkulling/following{/other_user}","gists_url":"https://api.github.com/users/kimkulling/gists{/gist_id}","starred_url":"https://api.github.com/users/kimkulling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kimkulling/subscriptions","organizations_url":"https://api.github.com/users/kimkulling/orgs","repos_url":"https://api.github.com/users/kimkulling/repos","events_url":"https://api.github.com/users/kimkulling/events{/privacy}","received_events_url":"https://api.github.com/users/kimkulling/received_events","type":"User","site_admin":false},"body":"Same here!","created_at":"2016-01-24T11:05:34Z","updated_at":"2016-01-24T11:05:34Z","html_url":"https://github.com/assimp/assimp/pull/764#discussion_r50633833","pull_request_url":"https://api.github.com/repos/assimp/assimp/pulls/764","_links":{"self":{"href":"https://api.github.com/repos/assimp/assimp/pulls/comments/50633833"},"html":{"href":"https://github.com/assimp/assimp/pull/764#discussion_r50633833"},"pull_request":{"href":"https://api.github.com/repos/assimp/assimp/pulls/764"}}},"pull_request":{"url":"https://api.github.com/repos/assimp/assimp/pulls/764","id":56989769,"html_url":"https://github.com/assimp/assimp/pull/764","diff_url":"https://github.com/assimp/assimp/pull/764.diff","patch_url":"https://github.com/assimp/assimp/pull/764.patch","issue_url":"https://api.github.com/repos/assimp/assimp/issues/764","number":764,"state":"open","locked":false,"title":"Validation fix for empty SIB scenes.","user":{"login":"rmitton","id":8029835,"avatar_url":"https://avatars.githubusercontent.com/u/8029835?v=3","gravatar_id":"","url":"https://api.github.com/users/rmitton","html_url":"https://github.com/rmitton","followers_url":"https://api.github.com/users/rmitton/followers","following_url":"https://api.github.com/users/rmitton/following{/other_user}","gists_url":"https://api.github.com/users/rmitton/gists{/gist_id}","starred_url":"https://api.github.com/users/rmitton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmitton/subscriptions","organizations_url":"https://api.github.com/users/rmitton/orgs","repos_url":"https://api.github.com/users/rmitton/repos","events_url":"https://api.github.com/users/rmitton/events{/privacy}","received_events_url":"https://api.github.com/users/rmitton/received_events","type":"User","site_admin":false},"body":"The validator requires empty scenes to explicitly have NULL pointers.","created_at":"2016-01-23T23:24:31Z","updated_at":"2016-01-24T11:05:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5796219b4b05d26c8e5282cf7fb76682f647071d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/assimp/assimp/pulls/764/commits","review_comments_url":"https://api.github.com/repos/assimp/assimp/pulls/764/comments","review_comment_url":"https://api.github.com/repos/assimp/assimp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/assimp/assimp/issues/764/comments","statuses_url":"https://api.github.com/repos/assimp/assimp/statuses/ae2cce0899db7c97b684a35e0f78e60168e23658","head":{"label":"rmitton:sib_import","ref":"sib_import","sha":"ae2cce0899db7c97b684a35e0f78e60168e23658","user":{"login":"rmitton","id":8029835,"avatar_url":"https://avatars.githubusercontent.com/u/8029835?v=3","gravatar_id":"","url":"https://api.github.com/users/rmitton","html_url":"https://github.com/rmitton","followers_url":"https://api.github.com/users/rmitton/followers","following_url":"https://api.github.com/users/rmitton/following{/other_user}","gists_url":"https://api.github.com/users/rmitton/gists{/gist_id}","starred_url":"https://api.github.com/users/rmitton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmitton/subscriptions","organizations_url":"https://api.github.com/users/rmitton/orgs","repos_url":"https://api.github.com/users/rmitton/repos","events_url":"https://api.github.com/users/rmitton/events{/privacy}","received_events_url":"https://api.github.com/users/rmitton/received_events","type":"User","site_admin":false},"repo":{"id":47955002,"name":"assimp","full_name":"rmitton/assimp","owner":{"login":"rmitton","id":8029835,"avatar_url":"https://avatars.githubusercontent.com/u/8029835?v=3","gravatar_id":"","url":"https://api.github.com/users/rmitton","html_url":"https://github.com/rmitton","followers_url":"https://api.github.com/users/rmitton/followers","following_url":"https://api.github.com/users/rmitton/following{/other_user}","gists_url":"https://api.github.com/users/rmitton/gists{/gist_id}","starred_url":"https://api.github.com/users/rmitton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmitton/subscriptions","organizations_url":"https://api.github.com/users/rmitton/orgs","repos_url":"https://api.github.com/users/rmitton/repos","events_url":"https://api.github.com/users/rmitton/events{/privacy}","received_events_url":"https://api.github.com/users/rmitton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rmitton/assimp","description":"Official Open Asset Import Library Repository. Loads 40+ 3D file formats into one unified and clean data structure. ","fork":true,"url":"https://api.github.com/repos/rmitton/assimp","forks_url":"https://api.github.com/repos/rmitton/assimp/forks","keys_url":"https://api.github.com/repos/rmitton/assimp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rmitton/assimp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rmitton/assimp/teams","hooks_url":"https://api.github.com/repos/rmitton/assimp/hooks","issue_events_url":"https://api.github.com/repos/rmitton/assimp/issues/events{/number}","events_url":"https://api.github.com/repos/rmitton/assimp/events","assignees_url":"https://api.github.com/repos/rmitton/assimp/assignees{/user}","branches_url":"https://api.github.com/repos/rmitton/assimp/branches{/branch}","tags_url":"https://api.github.com/repos/rmitton/assimp/tags","blobs_url":"https://api.github.com/repos/rmitton/assimp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rmitton/assimp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rmitton/assimp/git/refs{/sha}","trees_url":"https://api.github.com/repos/rmitton/assimp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rmitton/assimp/statuses/{sha}","languages_url":"https://api.github.com/repos/rmitton/assimp/languages","stargazers_url":"https://api.github.com/repos/rmitton/assimp/stargazers","contributors_url":"https://api.github.com/repos/rmitton/assimp/contributors","subscribers_url":"https://api.github.com/repos/rmitton/assimp/subscribers","subscription_url":"https://api.github.com/repos/rmitton/assimp/subscription","commits_url":"https://api.github.com/repos/rmitton/assimp/commits{/sha}","git_commits_url":"https://api.github.com/repos/rmitton/assimp/git/commits{/sha}","comments_url":"https://api.github.com/repos/rmitton/assimp/comments{/number}","issue_comment_url":"https://api.github.com/repos/rmitton/assimp/issues/comments{/number}","contents_url":"https://api.github.com/repos/rmitton/assimp/contents/{+path}","compare_url":"https://api.github.com/repos/rmitton/assimp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rmitton/assimp/merges","archive_url":"https://api.github.com/repos/rmitton/assimp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rmitton/assimp/downloads","issues_url":"https://api.github.com/repos/rmitton/assimp/issues{/number}","pulls_url":"https://api.github.com/repos/rmitton/assimp/pulls{/number}","milestones_url":"https://api.github.com/repos/rmitton/assimp/milestones{/number}","notifications_url":"https://api.github.com/repos/rmitton/assimp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rmitton/assimp/labels{/name}","releases_url":"https://api.github.com/repos/rmitton/assimp/releases{/id}","deployments_url":"https://api.github.com/repos/rmitton/assimp/deployments","created_at":"2015-12-14T05:57:55Z","updated_at":"2015-12-14T05:58:03Z","pushed_at":"2016-01-23T23:27:45Z","git_url":"git://github.com/rmitton/assimp.git","ssh_url":"git@github.com:rmitton/assimp.git","clone_url":"https://github.com/rmitton/assimp.git","svn_url":"https://github.com/rmitton/assimp","homepage":"http://www.assimp.org","size":78381,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":false,"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":"assimp:master","ref":"master","sha":"0e4cf64a45688557533b9aac751cfec7a51139e7","user":{"login":"assimp","id":265533,"avatar_url":"https://avatars.githubusercontent.com/u/265533?v=3","gravatar_id":"","url":"https://api.github.com/users/assimp","html_url":"https://github.com/assimp","followers_url":"https://api.github.com/users/assimp/followers","following_url":"https://api.github.com/users/assimp/following{/other_user}","gists_url":"https://api.github.com/users/assimp/gists{/gist_id}","starred_url":"https://api.github.com/users/assimp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/assimp/subscriptions","organizations_url":"https://api.github.com/users/assimp/orgs","repos_url":"https://api.github.com/users/assimp/repos","events_url":"https://api.github.com/users/assimp/events{/privacy}","received_events_url":"https://api.github.com/users/assimp/received_events","type":"Organization","site_admin":false},"repo":{"id":648332,"name":"assimp","full_name":"assimp/assimp","owner":{"login":"assimp","id":265533,"avatar_url":"https://avatars.githubusercontent.com/u/265533?v=3","gravatar_id":"","url":"https://api.github.com/users/assimp","html_url":"https://github.com/assimp","followers_url":"https://api.github.com/users/assimp/followers","following_url":"https://api.github.com/users/assimp/following{/other_user}","gists_url":"https://api.github.com/users/assimp/gists{/gist_id}","starred_url":"https://api.github.com/users/assimp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/assimp/subscriptions","organizations_url":"https://api.github.com/users/assimp/orgs","repos_url":"https://api.github.com/users/assimp/repos","events_url":"https://api.github.com/users/assimp/events{/privacy}","received_events_url":"https://api.github.com/users/assimp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/assimp/assimp","description":"Official Open Asset Import Library Repository. Loads 40+ 3D file formats into one unified and clean data structure. ","fork":false,"url":"https://api.github.com/repos/assimp/assimp","forks_url":"https://api.github.com/repos/assimp/assimp/forks","keys_url":"https://api.github.com/repos/assimp/assimp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/assimp/assimp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/assimp/assimp/teams","hooks_url":"https://api.github.com/repos/assimp/assimp/hooks","issue_events_url":"https://api.github.com/repos/assimp/assimp/issues/events{/number}","events_url":"https://api.github.com/repos/assimp/assimp/events","assignees_url":"https://api.github.com/repos/assimp/assimp/assignees{/user}","branches_url":"https://api.github.com/repos/assimp/assimp/branches{/branch}","tags_url":"https://api.github.com/repos/assimp/assimp/tags","blobs_url":"https://api.github.com/repos/assimp/assimp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/assimp/assimp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/assimp/assimp/git/refs{/sha}","trees_url":"https://api.github.com/repos/assimp/assimp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/assimp/assimp/statuses/{sha}","languages_url":"https://api.github.com/repos/assimp/assimp/languages","stargazers_url":"https://api.github.com/repos/assimp/assimp/stargazers","contributors_url":"https://api.github.com/repos/assimp/assimp/contributors","subscribers_url":"https://api.github.com/repos/assimp/assimp/subscribers","subscription_url":"https://api.github.com/repos/assimp/assimp/subscription","commits_url":"https://api.github.com/repos/assimp/assimp/commits{/sha}","git_commits_url":"https://api.github.com/repos/assimp/assimp/git/commits{/sha}","comments_url":"https://api.github.com/repos/assimp/assimp/comments{/number}","issue_comment_url":"https://api.github.com/repos/assimp/assimp/issues/comments{/number}","contents_url":"https://api.github.com/repos/assimp/assimp/contents/{+path}","compare_url":"https://api.github.com/repos/assimp/assimp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/assimp/assimp/merges","archive_url":"https://api.github.com/repos/assimp/assimp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/assimp/assimp/downloads","issues_url":"https://api.github.com/repos/assimp/assimp/issues{/number}","pulls_url":"https://api.github.com/repos/assimp/assimp/pulls{/number}","milestones_url":"https://api.github.com/repos/assimp/assimp/milestones{/number}","notifications_url":"https://api.github.com/repos/assimp/assimp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/assimp/assimp/labels{/name}","releases_url":"https://api.github.com/repos/assimp/assimp/releases{/id}","deployments_url":"https://api.github.com/repos/assimp/assimp/deployments","created_at":"2010-05-05T12:53:45Z","updated_at":"2016-01-24T01:22:01Z","pushed_at":"2016-01-24T00:05:48Z","git_url":"git://github.com/assimp/assimp.git","ssh_url":"git@github.com:assimp/assimp.git","clone_url":"https://github.com/assimp/assimp.git","svn_url":"https://github.com/assimp/assimp","homepage":"http://www.assimp.org","size":101756,"stargazers_count":1057,"watchers_count":1057,"language":"C++","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"open_issues_count":144,"forks":428,"open_issues":144,"watchers":1057,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/assimp/assimp/pulls/764"},"html":{"href":"https://github.com/assimp/assimp/pull/764"},"issue":{"href":"https://api.github.com/repos/assimp/assimp/issues/764"},"comments":{"href":"https://api.github.com/repos/assimp/assimp/issues/764/comments"},"review_comments":{"href":"https://api.github.com/repos/assimp/assimp/pulls/764/comments"},"review_comment":{"href":"https://api.github.com/repos/assimp/assimp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/assimp/assimp/pulls/764/commits"},"statuses":{"href":"https://api.github.com/repos/assimp/assimp/statuses/ae2cce0899db7c97b684a35e0f78e60168e23658"}}}}