From 17d000266f88a9262feb1c838da0fe522c3d178a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Wed, 6 Jan 2016 00:27:11 +0100 Subject: [PATCH] Deactivate use of sameDir in Path#reduce() for now. --- src/path/Path.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/path/Path.js b/src/path/Path.js index 46a79466..8a56c5af 100644 --- a/src/path/Path.js +++ b/src/path/Path.js @@ -1035,7 +1035,9 @@ var Path = PathItem.extend(/** @lends Path# */{ // Pass true for sameDir, as we can only remove straight // curves if they point in the same direction as the next // curve, not 180° in the opposite direction. - || curve.isCollinear(curve.getNext(), true))) + // NOTE: sameDir is temporarily deactivate until overlaps + // are handled properly. + || curve.isCollinear(curve.getNext(), false))) curve.remove(); } return this;