add widget disable toggle. bump rev 3.2.D2
This commit is contained in:
parent
5788b800a8
commit
a2c282a072
16 changed files with 100 additions and 39 deletions
|
|
@ -98,9 +98,11 @@
|
|||
|
||||
FDM.sliceAll = function(settings, onupdate) {
|
||||
// future home of brim and anchor generation
|
||||
let widgets = Object.values(KIRI.worker.cache).sort((a,b) => {
|
||||
return a.slices[0].z - b.slices[0].z
|
||||
});
|
||||
let widgets = Object.values(KIRI.worker.cache)
|
||||
.filter(w => !w.meta.disabled)
|
||||
.sort((a,b) => {
|
||||
return a.slices[0].z - b.slices[0].z
|
||||
});
|
||||
// ignore first widget
|
||||
widgets.shift();
|
||||
// count extruders used
|
||||
|
|
|
|||
Loading…
Reference in a new issue