Prevent rare case where we get excluded intersections without valid curves at the start.

This commit is contained in:
Jürg Lehni 2017-01-15 18:43:47 +01:00
parent 3d4430f8af
commit 2ca34cddac

View file

@ -321,7 +321,8 @@ PathItem.inject(new function() {
if (exclude) { if (exclude) {
// Store excluded locations for later renormalization, in case // Store excluded locations for later renormalization, in case
// the same curve is divided to their left. // the same curve is divided to their left.
renormalizeLocs.push(loc); if (renormalizeLocs)
renormalizeLocs.push(loc);
continue; continue;
} else if (include) { } else if (include) {
results.unshift(loc); results.unshift(loc);