default preview labels. check for broken widget

This commit is contained in:
Stewart Allen 2021-02-14 15:50:29 -05:00
commit ad3575835b
5 changed files with 13 additions and 4 deletions

View file

@ -196,6 +196,10 @@
// so that they can use a separate extruder
for (let widget of widgets.slice()) {
let sslices = [];
if (!widget.slices) {
console.log('invalid widget', widget);
continue;
}
for (let slice of widget.slices) {
if (!slice.supports) {
continue;