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",
|
"name": "grid-apps",
|
||||||
"version": "2.7.5D",
|
"version": "2.7.6D",
|
||||||
"description": "grid.space 3d slice & modeling tools",
|
"description": "grid.space 3d slice & modeling tools",
|
||||||
"author": "Stewart Allen <sa@grid.space>",
|
"author": "Stewart Allen <sa@grid.space>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
if (!self.kiri) {
|
if (!self.kiri) {
|
||||||
self.kiri = {
|
self.kiri = {
|
||||||
beta: 2705,
|
beta: 2706,
|
||||||
driver: {}, // driver modules
|
driver: {}, // driver modules
|
||||||
loader: [] // module loading: array of functions
|
loader: [] // module loading: array of functions
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -658,7 +658,12 @@
|
||||||
animesh: "200"
|
animesh: "200"
|
||||||
},
|
},
|
||||||
// label state preferences
|
// 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)
|
// for passing temporary slice hints (topo currently)
|
||||||
synth: {},
|
synth: {},
|
||||||
// widget extra info for slicing (extruder mapping)
|
// widget extra info for slicing (extruder mapping)
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
let terms = {
|
let terms = {
|
||||||
COPYRIGHT: "Copyright (C) Stewart Allen <sa@grid.space> - All Rights Reserved",
|
COPYRIGHT: "Copyright (C) Stewart Allen <sa@grid.space> - All Rights Reserved",
|
||||||
LICENSE: "See the license.md file included with the source distribution",
|
LICENSE: "See the license.md file included with the source distribution",
|
||||||
VERSION: "2.7.D5"
|
VERSION: "2.7.D6"
|
||||||
};
|
};
|
||||||
|
|
||||||
if (typeof(module) === 'object') {
|
if (typeof(module) === 'object') {
|
||||||
|
|
|
||||||
|
|
@ -196,6 +196,10 @@
|
||||||
// so that they can use a separate extruder
|
// so that they can use a separate extruder
|
||||||
for (let widget of widgets.slice()) {
|
for (let widget of widgets.slice()) {
|
||||||
let sslices = [];
|
let sslices = [];
|
||||||
|
if (!widget.slices) {
|
||||||
|
console.log('invalid widget', widget);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
for (let slice of widget.slices) {
|
for (let slice of widget.slices) {
|
||||||
if (!slice.supports) {
|
if (!slice.supports) {
|
||||||
continue;
|
continue;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue