change default tool change methods for fdm
This commit is contained in:
parent
484d417058
commit
a7363732ac
43 changed files with 150 additions and 270 deletions
|
|
@ -264,7 +264,7 @@ FDM.prepare = async function(widgets, settings, update) {
|
|||
// find max layers (for updates)
|
||||
// generate list of used extruders for purge blocks
|
||||
for (let widget of widgets) {
|
||||
let extruder = widget.anno.extruder || 0;
|
||||
let extruder = widget.anno.extruder ?? 0;
|
||||
if (!extruders[extruder]) {
|
||||
extruders[extruder] = {};
|
||||
extcount++;
|
||||
|
|
|
|||
Loading…
Reference in a new issue