From 4d3ca746aba7f965257e0eede2b5a93e9fca0616 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sun, 26 Feb 2017 00:45:22 +0100 Subject: [PATCH] Reduce windingEpsilon to 1e-9. this address the issue outlined in https://github.com/paperjs/paper.js/issues/1261#issuecomment-282520748 --- src/path/PathItem.Boolean.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/path/PathItem.Boolean.js b/src/path/PathItem.Boolean.js index aab4cde7..d4b913fc 100644 --- a/src/path/PathItem.Boolean.js +++ b/src/path/PathItem.Boolean.js @@ -473,7 +473,7 @@ PathItem.inject(new function() { pa = pv[ia], // the point's abscissa po = pv[io], // the point's ordinate // Use separate epsilons for winding contribution code. - windingEpsilon = 1e-8, + windingEpsilon = 1e-9, qualityEpsilon = 1e-6, paL = pa - windingEpsilon, paR = pa + windingEpsilon,