fix fan setting for empty bridge layers
This commit is contained in:
parent
19cc99fddf
commit
183c110ed9
1 changed files with 1 additions and 1 deletions
|
|
@ -1617,7 +1617,7 @@ function slicePrintPath(print, slice, startPoint, offset, output, opt = {}) {
|
||||||
print.addPrintPoints(preout, output);
|
print.addPrintPoints(preout, output);
|
||||||
|
|
||||||
// bridge layer fan change
|
// bridge layer fan change
|
||||||
if (slice.isBridgeLayer) {
|
if (preout.length && slice.isBridgeLayer) {
|
||||||
preout[0].fan = Math.round(fanSpeed / 3);
|
preout[0].fan = Math.round(fanSpeed / 3);
|
||||||
preout.peek().fan = fanSpeed;
|
preout.peek().fan = fanSpeed;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue