From bbcfa644d97e8ebea2648e93ab5974ccd1db53b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sat, 4 Feb 2017 20:50:22 +0100 Subject: [PATCH] Bring back accidentally removed winding object fallback. --- 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 3472678f..c8a470f9 100644 --- a/src/path/PathItem.Boolean.js +++ b/src/path/PathItem.Boolean.js @@ -774,7 +774,7 @@ PathItem.inject(new function() { function isValid(seg) { var winding; return !!(seg && !seg._visited && (!operator - || operator[(winding = seg._winding).winding] + || operator[(winding = seg._winding || {}).winding] // Unite operations need special handling of segments // with a winding contribution of two (part of both // areas), which are only valid if they are part of the