fix slice,print,export for missing extruders
This commit is contained in:
parent
14526eb384
commit
3d1ad7169c
2 changed files with 21 additions and 3 deletions
|
|
@ -1373,7 +1373,9 @@ self.kiri.copyright = exports.COPYRIGHT;
|
|||
updateExtruderFields(device);
|
||||
};
|
||||
UI.extAdd.onclick = function() {
|
||||
device.extruders.push(clone(device.extruders[device.internal]));
|
||||
let copy = clone(device.extruders[device.internal]);
|
||||
copy.extSelect = [`T${device.extruders.length}`];
|
||||
device.extruders.push(copy);
|
||||
device.internal = device.extruders.length - 1;
|
||||
updateExtruderFields(device);
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue