From cbfb92a462066a5eca17e3b963b6b593fc86aeb1 Mon Sep 17 00:00:00 2001 From: Stewart Allen Date: Sat, 8 Feb 2020 10:33:45 -0500 Subject: [PATCH] another depth-first fix. this time for pool tops --- js/kiri-print.js | 7 ++++--- js/license.js | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/js/kiri-print.js b/js/kiri-print.js index 97f4b10b..7be852b0 100644 --- a/js/kiri-print.js +++ b/js/kiri-print.js @@ -984,9 +984,10 @@ var gs_kiri_print = exports; // pools are sorted smallest to largest. pools are polygons with an // attached 'pool' array of polygons layers.forEach(function(pools) { - pools.forEach(function(poolPoly) { - emitPool(poolPoly); - }); + // pools.forEach(function(poolPoly) { + // emitPool(poolPoly); + // }); + poly2polyEmit(pools, startPoint, emitPool, "del_ptop"); }) return startPoint; } diff --git a/js/license.js b/js/license.js index 5051295a..86518d2a 100644 --- a/js/license.js +++ b/js/license.js @@ -1,7 +1,7 @@ var exports = { COPYRIGHT:"Copyright (C) 2014-2019 Stewart Allen - All Rights Reserved", LICENSE:"See the license.md file included with the source distribution", - VERSION:"1.5.3" + VERSION:"1.5.4" }; if (!module) var module = {}; module.exports = exports;