fixes #109 Uncaught TypeError

This commit is contained in:
Stewart Allen 2021-02-24 04:22:10 -05:00
commit 3d993e99d0

View file

@ -68,7 +68,7 @@
offset = process.outputBrimOffset || (process.outputRaft ? 4 : 0);
// compute first brim
widgets.forEach(function(widget) {
widgets.filter(w => w.slices.length).forEach(function(widget) {
let tops = [];
// collect top outer polygons
widget.slices[0].tops.forEach(function(top) {