another depth-first fix. this time for pool tops

This commit is contained in:
Stewart Allen 2020-02-08 10:33:45 -05:00
commit cbfb92a462
2 changed files with 5 additions and 4 deletions

View file

@ -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;
}