fix output extruder type for supports
This commit is contained in:
parent
e28c775463
commit
52a04c4a62
2 changed files with 2 additions and 2 deletions
|
|
@ -805,7 +805,7 @@ function slicePrintPath(print, slice, startPoint, offset, output, opt = {}) {
|
|||
let preout = [],
|
||||
process = opt.params || settings.process,
|
||||
originCenter = device.originCenter || bedRound,
|
||||
extruder = slice.extruder || 0,
|
||||
extruder = parseInt(slice.extruder || 0),
|
||||
nozzleSize = process.sliceLineWidth || device.extruders[extruder].extNozzle,
|
||||
firstLayer = (opt.first || false) && !opt.support,
|
||||
thinWall = nozzleSize * (opt.thinWall || 1.75),
|
||||
|
|
|
|||
|
|
@ -199,7 +199,7 @@ function updateSettingsFromFields(setrec, uirec = api.ui, changes) {
|
|||
if (uie.selectedIndex >= 0) {
|
||||
nval = uie.options[uie.selectedIndex].value;
|
||||
let src = uie.parentNode.getAttribute('source');
|
||||
if (src === 'tools') {
|
||||
if (src === 'tools' || src == 'extruders') {
|
||||
nval = parseInt(nval);
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue