fix missing md5 import
This commit is contained in:
parent
e459d8e765
commit
2e407a4005
1 changed files with 2 additions and 1 deletions
|
|
@ -8,6 +8,7 @@ import { util } from '../../geo/base.js';
|
|||
import { MODES } from './consts.js';
|
||||
import { LASER as laser_driver } from '../mode/laser/driver.js';
|
||||
import { SLA as sla_client } from '../mode/sla/client.js';
|
||||
import { hash } from '../../ext/md5.js';
|
||||
|
||||
let printSeq = parseInt(local['kiri-print-seq'] || local['print-seq'] || "0") + 1;
|
||||
|
||||
|
|
@ -654,7 +655,7 @@ function exportGCodeDialog(gcode, sections, info, names) {
|
|||
data: gcode
|
||||
},{
|
||||
name: `Metadata/plate_1.gcode.md5`,
|
||||
data: ext.md5.hash(gcode)
|
||||
data: hash(gcode)
|
||||
},{
|
||||
name: `Metadata/plate_1_small.png`,
|
||||
data: api.view.bambu.s128.png
|
||||
|
|
|
|||
Loading…
Reference in a new issue