From 231dba83b25696ccdaa02585abd193632da11373 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrg=20Lehni?= <juerg@scratchdisk.com>
Date: Thu, 7 Jan 2016 12:15:11 +0100
Subject: [PATCH] No need to filter intersections if there were no overlaps.

---
 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 7a011a35..c20e5f85 100644
--- a/src/path/PathItem.Boolean.js
+++ b/src/path/PathItem.Boolean.js
@@ -807,7 +807,7 @@ PathItem.inject(new function() {
             if (hasCrossings) {
                 // Divide any remaining intersections that are still part of
                 // valid paths after the removal of overlaps.
-                divideLocations(intersections, function(inter) {
+                divideLocations(intersections, hasOverlaps && function(inter) {
                     // Check both involved curves to see if they're still valid,
                     // meaning they are still part of their paths.
                     var curve1 = inter.getCurve(),