{"action":"created","issue":{"url":"https://api.github.com/repos/Baste-RainGames/Node_Editor/issues/49","repository_url":"https://api.github.com/repos/Baste-RainGames/Node_Editor","labels_url":"https://api.github.com/repos/Baste-RainGames/Node_Editor/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/Baste-RainGames/Node_Editor/issues/49/comments","events_url":"https://api.github.com/repos/Baste-RainGames/Node_Editor/issues/49/events","html_url":"https://github.com/Baste-RainGames/Node_Editor/pull/49","id":135010717,"number":49,"title":"Canvas clipping for Bezier and Lines","user":{"login":"pmhpereira","id":886261,"avatar_url":"https://avatars.githubusercontent.com/u/886261?v=3","gravatar_id":"","url":"https://api.github.com/users/pmhpereira","html_url":"https://github.com/pmhpereira","followers_url":"https://api.github.com/users/pmhpereira/followers","following_url":"https://api.github.com/users/pmhpereira/following{/other_user}","gists_url":"https://api.github.com/users/pmhpereira/gists{/gist_id}","starred_url":"https://api.github.com/users/pmhpereira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmhpereira/subscriptions","organizations_url":"https://api.github.com/users/pmhpereira/orgs","repos_url":"https://api.github.com/users/pmhpereira/repos","events_url":"https://api.github.com/users/pmhpereira/events{/privacy}","received_events_url":"https://api.github.com/users/pmhpereira/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":45,"created_at":"2016-02-20T00:31:25Z","updated_at":"2016-02-21T00:23:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Baste-RainGames/Node_Editor/pulls/49","html_url":"https://github.com/Baste-RainGames/Node_Editor/pull/49","diff_url":"https://github.com/Baste-RainGames/Node_Editor/pull/49.diff","patch_url":"https://github.com/Baste-RainGames/Node_Editor/pull/49.patch"},"body":"Fixes #44.\r\n\r\nThere is a minor issue with clipping __some__ Beziers curves when they are really long, where some segments disappear instead of being clipped. It's only really noticeable with max zoom.\r\n\r\nI think this might be related with the orientation of a line (order of the vertices), but I couldn't pinpoint exactly why or how to solve it."},"comment":{"url":"https://api.github.com/repos/Baste-RainGames/Node_Editor/issues/comments/186707690","html_url":"https://github.com/Baste-RainGames/Node_Editor/pull/49#issuecomment-186707690","issue_url":"https://api.github.com/repos/Baste-RainGames/Node_Editor/issues/49","id":186707690,"user":{"login":"pmhpereira","id":886261,"avatar_url":"https://avatars.githubusercontent.com/u/886261?v=3","gravatar_id":"","url":"https://api.github.com/users/pmhpereira","html_url":"https://github.com/pmhpereira","followers_url":"https://api.github.com/users/pmhpereira/followers","following_url":"https://api.github.com/users/pmhpereira/following{/other_user}","gists_url":"https://api.github.com/users/pmhpereira/gists{/gist_id}","starred_url":"https://api.github.com/users/pmhpereira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmhpereira/subscriptions","organizations_url":"https://api.github.com/users/pmhpereira/orgs","repos_url":"https://api.github.com/users/pmhpereira/repos","events_url":"https://api.github.com/users/pmhpereira/events{/privacy}","received_events_url":"https://api.github.com/users/pmhpereira/received_events","type":"User","site_admin":false},"created_at":"2016-02-21T00:23:59Z","updated_at":"2016-02-21T00:23:59Z","body":"It's done! :D\r\n\r\nThe solution was pretty easy, once I figured it out.\r\nWhen the `nextPoint` is clipped, it needs to be restored to the original position, in order for the clipping of the next step to not display artifacts."}}