{"action":"closed","number":130,"pull_request":{"url":"https://api.github.com/repos/unibas-gravis/scalismo/pulls/130","id":75328028,"html_url":"https://github.com/unibas-gravis/scalismo/pull/130","diff_url":"https://github.com/unibas-gravis/scalismo/pull/130.diff","patch_url":"https://github.com/unibas-gravis/scalismo/pull/130.patch","issue_url":"https://api.github.com/repos/unibas-gravis/scalismo/issues/130","number":130,"state":"closed","locked":false,"title":"Bugfix: Handle special case when triangle list is empty","user":{"login":"marcelluethi","id":1332115,"avatar_url":"https://avatars.githubusercontent.com/u/1332115?v=3","gravatar_id":"","url":"https://api.github.com/users/marcelluethi","html_url":"https://github.com/marcelluethi","followers_url":"https://api.github.com/users/marcelluethi/followers","following_url":"https://api.github.com/users/marcelluethi/following{/other_user}","gists_url":"https://api.github.com/users/marcelluethi/gists{/gist_id}","starred_url":"https://api.github.com/users/marcelluethi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcelluethi/subscriptions","organizations_url":"https://api.github.com/users/marcelluethi/orgs","repos_url":"https://api.github.com/users/marcelluethi/repos","events_url":"https://api.github.com/users/marcelluethi/events{/privacy}","received_events_url":"https://api.github.com/users/marcelluethi/received_events","type":"User","site_admin":false},"body":"Sometimes it is useful to define a mesh that has an empty list of triangles. For example, when we crop a mesh it may happen that one part does not contain any triangles any more. The current implementation crashes in such a case. \r\n\r\nThis PR handles this special case. ","created_at":"2016-06-27T15:09:48Z","updated_at":"2016-06-27T15:15:40Z","closed_at":"2016-06-27T15:15:39Z","merged_at":null,"merge_commit_sha":"e90dd9938f59869867345cf3b372078198eb0b83","assignee":{"login":"sschoenborn","id":8012444,"avatar_url":"https://avatars.githubusercontent.com/u/8012444?v=3","gravatar_id":"","url":"https://api.github.com/users/sschoenborn","html_url":"https://github.com/sschoenborn","followers_url":"https://api.github.com/users/sschoenborn/followers","following_url":"https://api.github.com/users/sschoenborn/following{/other_user}","gists_url":"https://api.github.com/users/sschoenborn/gists{/gist_id}","starred_url":"https://api.github.com/users/sschoenborn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sschoenborn/subscriptions","organizations_url":"https://api.github.com/users/sschoenborn/orgs","repos_url":"https://api.github.com/users/sschoenborn/repos","events_url":"https://api.github.com/users/sschoenborn/events{/privacy}","received_events_url":"https://api.github.com/users/sschoenborn/received_events","type":"User","site_admin":false},"assignees":[{"login":"sschoenborn","id":8012444,"avatar_url":"https://avatars.githubusercontent.com/u/8012444?v=3","gravatar_id":"","url":"https://api.github.com/users/sschoenborn","html_url":"https://github.com/sschoenborn","followers_url":"https://api.github.com/users/sschoenborn/followers","following_url":"https://api.github.com/users/sschoenborn/following{/other_user}","gists_url":"https://api.github.com/users/sschoenborn/gists{/gist_id}","starred_url":"https://api.github.com/users/sschoenborn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sschoenborn/subscriptions","organizations_url":"https://api.github.com/users/sschoenborn/orgs","repos_url":"https://api.github.com/users/sschoenborn/repos","events_url":"https://api.github.com/users/sschoenborn/events{/privacy}","received_events_url":"https://api.github.com/users/sschoenborn/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/unibas-gravis/scalismo/pulls/130/commits","review_comments_url":"https://api.github.com/repos/unibas-gravis/scalismo/pulls/130/comments","review_comment_url":"https://api.github.com/repos/unibas-gravis/scalismo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/unibas-gravis/scalismo/issues/130/comments","statuses_url":"https://api.github.com/repos/unibas-gravis/scalismo/statuses/1a869e91b6fa91f38cca514e2deaa3036b2a2e62","head":{"label":"unibas-gravis:empty-triangle-mesh","ref":"empty-triangle-mesh","sha":"1a869e91b6fa91f38cca514e2deaa3036b2a2e62","user":{"login":"unibas-gravis","id":2787582,"avatar_url":"https://avatars.githubusercontent.com/u/2787582?v=3","gravatar_id":"","url":"https://api.github.com/users/unibas-gravis","html_url":"https://github.com/unibas-gravis","followers_url":"https://api.github.com/users/unibas-gravis/followers","following_url":"https://api.github.com/users/unibas-gravis/following{/other_user}","gists_url":"https://api.github.com/users/unibas-gravis/gists{/gist_id}","starred_url":"https://api.github.com/users/unibas-gravis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unibas-gravis/subscriptions","organizations_url":"https://api.github.com/users/unibas-gravis/orgs","repos_url":"https://api.github.com/users/unibas-gravis/repos","events_url":"https://api.github.com/users/unibas-gravis/events{/privacy}","received_events_url":"https://api.github.com/users/unibas-gravis/received_events","type":"Organization","site_admin":false},"repo":{"id":30758554,"name":"scalismo","full_name":"unibas-gravis/scalismo","owner":{"login":"unibas-gravis","id":2787582,"avatar_url":"https://avatars.githubusercontent.com/u/2787582?v=3","gravatar_id":"","url":"https://api.github.com/users/unibas-gravis","html_url":"https://github.com/unibas-gravis","followers_url":"https://api.github.com/users/unibas-gravis/followers","following_url":"https://api.github.com/users/unibas-gravis/following{/other_user}","gists_url":"https://api.github.com/users/unibas-gravis/gists{/gist_id}","starred_url":"https://api.github.com/users/unibas-gravis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unibas-gravis/subscriptions","organizations_url":"https://api.github.com/users/unibas-gravis/orgs","repos_url":"https://api.github.com/users/unibas-gravis/repos","events_url":"https://api.github.com/users/unibas-gravis/events{/privacy}","received_events_url":"https://api.github.com/users/unibas-gravis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/unibas-gravis/scalismo","description":"Scalable Image Analysis and Shape Modelling","fork":false,"url":"https://api.github.com/repos/unibas-gravis/scalismo","forks_url":"https://api.github.com/repos/unibas-gravis/scalismo/forks","keys_url":"https://api.github.com/repos/unibas-gravis/scalismo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/unibas-gravis/scalismo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/unibas-gravis/scalismo/teams","hooks_url":"https://api.github.com/repos/unibas-gravis/scalismo/hooks","issue_events_url":"https://api.github.com/repos/unibas-gravis/scalismo/issues/events{/number}","events_url":"https://api.github.com/repos/unibas-gravis/scalismo/events","assignees_url":"https://api.github.com/repos/unibas-gravis/scalismo/assignees{/user}","branches_url":"https://api.github.com/repos/unibas-gravis/scalismo/branches{/branch}","tags_url":"https://api.github.com/repos/unibas-gravis/scalismo/tags","blobs_url":"https://api.github.com/repos/unibas-gravis/scalismo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/unibas-gravis/scalismo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/unibas-gravis/scalismo/git/refs{/sha}","trees_url":"https://api.github.com/repos/unibas-gravis/scalismo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/unibas-gravis/scalismo/statuses/{sha}","languages_url":"https://api.github.com/repos/unibas-gravis/scalismo/languages","stargazers_url":"https://api.github.com/repos/unibas-gravis/scalismo/stargazers","contributors_url":"https://api.github.com/repos/unibas-gravis/scalismo/contributors","subscribers_url":"https://api.github.com/repos/unibas-gravis/scalismo/subscribers","subscription_url":"https://api.github.com/repos/unibas-gravis/scalismo/subscription","commits_url":"https://api.github.com/repos/unibas-gravis/scalismo/commits{/sha}","git_commits_url":"https://api.github.com/repos/unibas-gravis/scalismo/git/commits{/sha}","comments_url":"https://api.github.com/repos/unibas-gravis/scalismo/comments{/number}","issue_comment_url":"https://api.github.com/repos/unibas-gravis/scalismo/issues/comments{/number}","contents_url":"https://api.github.com/repos/unibas-gravis/scalismo/contents/{+path}","compare_url":"https://api.github.com/repos/unibas-gravis/scalismo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/unibas-gravis/scalismo/merges","archive_url":"https://api.github.com/repos/unibas-gravis/scalismo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/unibas-gravis/scalismo/downloads","issues_url":"https://api.github.com/repos/unibas-gravis/scalismo/issues{/number}","pulls_url":"https://api.github.com/repos/unibas-gravis/scalismo/pulls{/number}","milestones_url":"https://api.github.com/repos/unibas-gravis/scalismo/milestones{/number}","notifications_url":"https://api.github.com/repos/unibas-gravis/scalismo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/unibas-gravis/scalismo/labels{/name}","releases_url":"https://api.github.com/repos/unibas-gravis/scalismo/releases{/id}","deployments_url":"https://api.github.com/repos/unibas-gravis/scalismo/deployments","created_at":"2015-02-13T13:58:38Z","updated_at":"2016-06-21T10:20:23Z","pushed_at":"2016-06-27T15:15:15Z","git_url":"git://github.com/unibas-gravis/scalismo.git","ssh_url":"git@github.com:unibas-gravis/scalismo.git","clone_url":"https://github.com/unibas-gravis/scalismo.git","svn_url":"https://github.com/unibas-gravis/scalismo","homepage":null,"size":126537,"stargazers_count":28,"watchers_count":28,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":12,"forks":6,"open_issues":12,"watchers":28,"default_branch":"master"}},"base":{"label":"unibas-gravis:develop","ref":"develop","sha":"064c67da53b08abf24bf87e7514f00659f97acf6","user":{"login":"unibas-gravis","id":2787582,"avatar_url":"https://avatars.githubusercontent.com/u/2787582?v=3","gravatar_id":"","url":"https://api.github.com/users/unibas-gravis","html_url":"https://github.com/unibas-gravis","followers_url":"https://api.github.com/users/unibas-gravis/followers","following_url":"https://api.github.com/users/unibas-gravis/following{/other_user}","gists_url":"https://api.github.com/users/unibas-gravis/gists{/gist_id}","starred_url":"https://api.github.com/users/unibas-gravis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unibas-gravis/subscriptions","organizations_url":"https://api.github.com/users/unibas-gravis/orgs","repos_url":"https://api.github.com/users/unibas-gravis/repos","events_url":"https://api.github.com/users/unibas-gravis/events{/privacy}","received_events_url":"https://api.github.com/users/unibas-gravis/received_events","type":"Organization","site_admin":false},"repo":{"id":30758554,"name":"scalismo","full_name":"unibas-gravis/scalismo","owner":{"login":"unibas-gravis","id":2787582,"avatar_url":"https://avatars.githubusercontent.com/u/2787582?v=3","gravatar_id":"","url":"https://api.github.com/users/unibas-gravis","html_url":"https://github.com/unibas-gravis","followers_url":"https://api.github.com/users/unibas-gravis/followers","following_url":"https://api.github.com/users/unibas-gravis/following{/other_user}","gists_url":"https://api.github.com/users/unibas-gravis/gists{/gist_id}","starred_url":"https://api.github.com/users/unibas-gravis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unibas-gravis/subscriptions","organizations_url":"https://api.github.com/users/unibas-gravis/orgs","repos_url":"https://api.github.com/users/unibas-gravis/repos","events_url":"https://api.github.com/users/unibas-gravis/events{/privacy}","received_events_url":"https://api.github.com/users/unibas-gravis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/unibas-gravis/scalismo","description":"Scalable Image Analysis and Shape Modelling","fork":false,"url":"https://api.github.com/repos/unibas-gravis/scalismo","forks_url":"https://api.github.com/repos/unibas-gravis/scalismo/forks","keys_url":"https://api.github.com/repos/unibas-gravis/scalismo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/unibas-gravis/scalismo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/unibas-gravis/scalismo/teams","hooks_url":"https://api.github.com/repos/unibas-gravis/scalismo/hooks","issue_events_url":"https://api.github.com/repos/unibas-gravis/scalismo/issues/events{/number}","events_url":"https://api.github.com/repos/unibas-gravis/scalismo/events","assignees_url":"https://api.github.com/repos/unibas-gravis/scalismo/assignees{/user}","branches_url":"https://api.github.com/repos/unibas-gravis/scalismo/branches{/branch}","tags_url":"https://api.github.com/repos/unibas-gravis/scalismo/tags","blobs_url":"https://api.github.com/repos/unibas-gravis/scalismo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/unibas-gravis/scalismo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/unibas-gravis/scalismo/git/refs{/sha}","trees_url":"https://api.github.com/repos/unibas-gravis/scalismo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/unibas-gravis/scalismo/statuses/{sha}","languages_url":"https://api.github.com/repos/unibas-gravis/scalismo/languages","stargazers_url":"https://api.github.com/repos/unibas-gravis/scalismo/stargazers","contributors_url":"https://api.github.com/repos/unibas-gravis/scalismo/contributors","subscribers_url":"https://api.github.com/repos/unibas-gravis/scalismo/subscribers","subscription_url":"https://api.github.com/repos/unibas-gravis/scalismo/subscription","commits_url":"https://api.github.com/repos/unibas-gravis/scalismo/commits{/sha}","git_commits_url":"https://api.github.com/repos/unibas-gravis/scalismo/git/commits{/sha}","comments_url":"https://api.github.com/repos/unibas-gravis/scalismo/comments{/number}","issue_comment_url":"https://api.github.com/repos/unibas-gravis/scalismo/issues/comments{/number}","contents_url":"https://api.github.com/repos/unibas-gravis/scalismo/contents/{+path}","compare_url":"https://api.github.com/repos/unibas-gravis/scalismo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/unibas-gravis/scalismo/merges","archive_url":"https://api.github.com/repos/unibas-gravis/scalismo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/unibas-gravis/scalismo/downloads","issues_url":"https://api.github.com/repos/unibas-gravis/scalismo/issues{/number}","pulls_url":"https://api.github.com/repos/unibas-gravis/scalismo/pulls{/number}","milestones_url":"https://api.github.com/repos/unibas-gravis/scalismo/milestones{/number}","notifications_url":"https://api.github.com/repos/unibas-gravis/scalismo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/unibas-gravis/scalismo/labels{/name}","releases_url":"https://api.github.com/repos/unibas-gravis/scalismo/releases{/id}","deployments_url":"https://api.github.com/repos/unibas-gravis/scalismo/deployments","created_at":"2015-02-13T13:58:38Z","updated_at":"2016-06-21T10:20:23Z","pushed_at":"2016-06-27T15:15:15Z","git_url":"git://github.com/unibas-gravis/scalismo.git","ssh_url":"git@github.com:unibas-gravis/scalismo.git","clone_url":"https://github.com/unibas-gravis/scalismo.git","svn_url":"https://github.com/unibas-gravis/scalismo","homepage":null,"size":126537,"stargazers_count":28,"watchers_count":28,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":12,"forks":6,"open_issues":12,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/unibas-gravis/scalismo/pulls/130"},"html":{"href":"https://github.com/unibas-gravis/scalismo/pull/130"},"issue":{"href":"https://api.github.com/repos/unibas-gravis/scalismo/issues/130"},"comments":{"href":"https://api.github.com/repos/unibas-gravis/scalismo/issues/130/comments"},"review_comments":{"href":"https://api.github.com/repos/unibas-gravis/scalismo/pulls/130/comments"},"review_comment":{"href":"https://api.github.com/repos/unibas-gravis/scalismo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/unibas-gravis/scalismo/pulls/130/commits"},"statuses":{"href":"https://api.github.com/repos/unibas-gravis/scalismo/statuses/1a869e91b6fa91f38cca514e2deaa3036b2a2e62"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":16,"deletions":3,"changed_files":2}}
{"actor":{"display_login":"Ghazi-Bouabene"}}