fix missing var reference
This commit is contained in:
parent
bf1945d02f
commit
e215b9aaef
3 changed files with 7 additions and 3 deletions
|
|
@ -695,7 +695,11 @@
|
|||
* @param {Polygon[]} polys
|
||||
*/
|
||||
function addSolidFills(slice, polys) {
|
||||
slice.solids.appendAll(polys);
|
||||
if (slice.solids) {
|
||||
slice.solids.appendAll(polys);
|
||||
} else if (polys && polys.length) {
|
||||
console.log({no_solids_in: slice, for: polys})
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue