proactive memory free, option for zerocopy (seems slower), track prepare times
This commit is contained in:
parent
d020a94b53
commit
4da43685f4
8 changed files with 91 additions and 19 deletions
|
|
@ -367,7 +367,7 @@
|
|||
|
||||
// notify progress
|
||||
layerout.layer = layer++;
|
||||
update((layer / maxLayers) * 0.5);
|
||||
update((layer / maxLayers) * 0.5, "prepare");
|
||||
|
||||
// retract after last layer
|
||||
if (layer === maxLayers && layerout.length) {
|
||||
|
|
@ -381,7 +381,7 @@
|
|||
|
||||
print.output = output;
|
||||
print.render = FDM.prepareRender(output, progress => {
|
||||
update(0.5 + progress * 0.5);
|
||||
update(0.5 + progress * 0.5, "render");
|
||||
}, { tools: device.extruders, thin: isThin, flat: isFlat, fdm: true });
|
||||
return print.render;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue