allow .debug module to load for shared electron/debug modules. filter defines from macros. add bambu check before attempted file send
This commit is contained in:
parent
0cd9ec0f39
commit
fa116bf277
5 changed files with 8 additions and 3 deletions
|
|
@ -635,7 +635,7 @@ function exportGCodeDialog(gcode, sections, info, names) {
|
|||
api.show.progress(progress.percent/100, "generating 3mf");
|
||||
}, output => {
|
||||
api.show.progress(0);
|
||||
if (api.bambu) {
|
||||
if (api.bambu && api.bambu.sendok({ gcode, info, settings })) {
|
||||
api.bambu.send(`${$('print-filename').value}.3mf`, output);
|
||||
} else {
|
||||
api.util.download(output, `${$('print-filename').value}.3mf`);
|
||||
|
|
|
|||
Loading…
Reference in a new issue