{"action":"created","issue":{"url":"https://api.github.com/repos/PistonDevelopers/conrod/issues/628","labels_url":"https://api.github.com/repos/PistonDevelopers/conrod/issues/628/labels{/name}","comments_url":"https://api.github.com/repos/PistonDevelopers/conrod/issues/628/comments","events_url":"https://api.github.com/repos/PistonDevelopers/conrod/issues/628/events","html_url":"https://github.com/PistonDevelopers/conrod/issues/628","id":117803533,"number":628,"title":"Envelop editor causes crash when all points are removed by right click","user":{"login":"anarendiran","id":2749010,"avatar_url":"https://avatars.githubusercontent.com/u/2749010?v=3","gravatar_id":"","url":"https://api.github.com/users/anarendiran","html_url":"https://github.com/anarendiran","followers_url":"https://api.github.com/users/anarendiran/followers","following_url":"https://api.github.com/users/anarendiran/following{/other_user}","gists_url":"https://api.github.com/users/anarendiran/gists{/gist_id}","starred_url":"https://api.github.com/users/anarendiran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anarendiran/subscriptions","organizations_url":"https://api.github.com/users/anarendiran/orgs","repos_url":"https://api.github.com/users/anarendiran/repos","events_url":"https://api.github.com/users/anarendiran/events{/privacy}","received_events_url":"https://api.github.com/users/anarendiran/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PistonDevelopers/conrod/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-19T12:24:02Z","updated_at":"2015-11-26T09:39:15Z","closed_at":null,"body":"Removing all the points in the envelop editor causes the program to crash.\r\n\r\n     Running `target/debug/examples/all_widgets`\r\n     thread '<main>' panicked at 'index out of bounds: the len is 0 but the index is 0', src/widget/envelope_editor.rs:633\r\n     Process didn't exit successfully: `target/debug/examples/all_widgets` (exit code: 101)"},"comment":{"url":"https://api.github.com/repos/PistonDevelopers/conrod/issues/comments/159859231","html_url":"https://github.com/PistonDevelopers/conrod/issues/628#issuecomment-159859231","issue_url":"https://api.github.com/repos/PistonDevelopers/conrod/issues/628","id":159859231,"user":{"login":"mitchmindtree","id":4587373,"avatar_url":"https://avatars.githubusercontent.com/u/4587373?v=3","gravatar_id":"","url":"https://api.github.com/users/mitchmindtree","html_url":"https://github.com/mitchmindtree","followers_url":"https://api.github.com/users/mitchmindtree/followers","following_url":"https://api.github.com/users/mitchmindtree/following{/other_user}","gists_url":"https://api.github.com/users/mitchmindtree/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchmindtree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchmindtree/subscriptions","organizations_url":"https://api.github.com/users/mitchmindtree/orgs","repos_url":"https://api.github.com/users/mitchmindtree/repos","events_url":"https://api.github.com/users/mitchmindtree/events{/privacy}","received_events_url":"https://api.github.com/users/mitchmindtree/received_events","type":"User","site_admin":false},"created_at":"2015-11-26T09:39:15Z","updated_at":"2015-11-26T09:39:15Z","body":"Thanks for the issue, I'll fix this in #626 if no one gets to it first."}}