{"action":"created","issue":{"url":"https://api.github.com/repos/paperjs/paper.js/issues/889","labels_url":"https://api.github.com/repos/paperjs/paper.js/issues/889/labels{/name}","comments_url":"https://api.github.com/repos/paperjs/paper.js/issues/889/comments","events_url":"https://api.github.com/repos/paperjs/paper.js/issues/889/events","html_url":"https://github.com/paperjs/paper.js/issues/889","id":125060412,"number":889,"title":"path.subtract() results in open path","user":{"login":"iconexperience","id":2122773,"avatar_url":"https://avatars.githubusercontent.com/u/2122773?v=3","gravatar_id":"","url":"https://api.github.com/users/iconexperience","html_url":"https://github.com/iconexperience","followers_url":"https://api.github.com/users/iconexperience/followers","following_url":"https://api.github.com/users/iconexperience/following{/other_user}","gists_url":"https://api.github.com/users/iconexperience/gists{/gist_id}","starred_url":"https://api.github.com/users/iconexperience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iconexperience/subscriptions","organizations_url":"https://api.github.com/users/iconexperience/orgs","repos_url":"https://api.github.com/users/iconexperience/repos","events_url":"https://api.github.com/users/iconexperience/events{/privacy}","received_events_url":"https://api.github.com/users/iconexperience/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-05T21:56:36Z","updated_at":"2016-01-05T22:06:51Z","closed_at":"2016-01-05T22:05:01Z","body":"This very simple subtract operation fails for some reason. The case is so simple that I am not sure if maybe I am doing something wrong here.\r\n\r\n```javascript\r\nvar cp = new paper.CompoundPath();\r\ncp.addChild(new Path({segments:[[340.26, 358.4],  [576, 396.8], [345.78, 396.8]], closed:true}));\r\ncp.addChild(new Path({segments:[ [691.2, 685.76], [672, 550.4, 0, 0, 10, 0], [729.6, 608, 0, -20, 0, 0], ], closed:true}));\r\nvar p = new Path({segments:[[739, 418], [637, 704], [205, 704],[204.30709922574619, 356.553500194953]], closed:true});\r\ncp.strokeColor = \"green\";\r\np.strokeColor = \"red\";\r\nvar res = cp.subtract(p);\r\nres.fullySelected = true;\r\n```\r\n\r\n<a href=\"http://sketch.paperjs.org/#S/jZHBbsMgDIZfBXFqpQwRCBBS7dQXmNRj0kMavKZqGhAhm6aq7z5I21N3mISE7Q/99m+ueGwvgCu8O0PoepzhzpqUf7UedQ69oxG+kWsdeLK1F2fn0Xy0oV+tN41vxs6R1phtfxrMKj1c0HWC4wXGMFV1zQtKmMwQFyUp9hlCtVAp1ZKUMY1cEFU+C7HSDXYCUwU/w239vyaoljonLEOyjGIyyUoVUyEoKTJEl5OnKyHFNIkTSFou9Td254n93T5t4rmIF3+K6wwV+eJFcpUhRZPNmlHxiGNYEE4V1ZoxoQqZ67QOSYTggtJcF1rwF+dP41Pw9gxbO1gfR2jw0QOMDV7wK/VgHiwN7WGK1SQyH4Jvu7Byd90IyOc8DD87GKALYOKz1HYTv//goT07e4r2cFXvb78=\">It works on code base of the current Sketch.</a>\r\n\r\n![image](https://cloud.githubusercontent.com/assets/2122773/12128703/55cb2f1a-b3ff-11e5-9fb7-a6506f2ecb46.png)\r\n\r\n\r\nMore information will follow tomorrow."},"comment":{"url":"https://api.github.com/repos/paperjs/paper.js/issues/comments/169148984","html_url":"https://github.com/paperjs/paper.js/issues/889#issuecomment-169148984","issue_url":"https://api.github.com/repos/paperjs/paper.js/issues/889","id":169148984,"user":{"login":"lehni","id":213275,"avatar_url":"https://avatars.githubusercontent.com/u/213275?v=3","gravatar_id":"","url":"https://api.github.com/users/lehni","html_url":"https://github.com/lehni","followers_url":"https://api.github.com/users/lehni/followers","following_url":"https://api.github.com/users/lehni/following{/other_user}","gists_url":"https://api.github.com/users/lehni/gists{/gist_id}","starred_url":"https://api.github.com/users/lehni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lehni/subscriptions","organizations_url":"https://api.github.com/users/lehni/orgs","repos_url":"https://api.github.com/users/lehni/repos","events_url":"https://api.github.com/users/lehni/events{/privacy}","received_events_url":"https://api.github.com/users/lehni/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T22:06:51Z","updated_at":"2016-01-05T22:06:51Z","body":"Oh yeah I'm getting that too. I just compared with your image, didn't look at the console..."}}