fixes #109 Uncaught TypeError
This commit is contained in:
parent
f4b8a8b5d2
commit
3d993e99d0
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue