default preview labels. check for broken widget
This commit is contained in:
parent
a4ea9368be
commit
ad3575835b
5 changed files with 13 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "grid-apps",
|
||||
"version": "2.7.5D",
|
||||
"version": "2.7.6D",
|
||||
"description": "grid.space 3d slice & modeling tools",
|
||||
"author": "Stewart Allen <sa@grid.space>",
|
||||
"license": "MIT",
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
if (!self.kiri) {
|
||||
self.kiri = {
|
||||
beta: 2705,
|
||||
beta: 2706,
|
||||
driver: {}, // driver modules
|
||||
loader: [] // module loading: array of functions
|
||||
};
|
||||
|
|
|
|||
|
|
@ -658,7 +658,12 @@
|
|||
animesh: "200"
|
||||
},
|
||||
// label state preferences
|
||||
labels: {},
|
||||
labels: {
|
||||
'FDM-3-engage': false,
|
||||
'FDM-3-retract': false,
|
||||
'FDM-3-arrows': false,
|
||||
'FDM-3-move': false
|
||||
},
|
||||
// for passing temporary slice hints (topo currently)
|
||||
synth: {},
|
||||
// widget extra info for slicing (extruder mapping)
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
let terms = {
|
||||
COPYRIGHT: "Copyright (C) Stewart Allen <sa@grid.space> - All Rights Reserved",
|
||||
LICENSE: "See the license.md file included with the source distribution",
|
||||
VERSION: "2.7.D5"
|
||||
VERSION: "2.7.D6"
|
||||
};
|
||||
|
||||
if (typeof(module) === 'object') {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue