extract png loader from kiri worker so it can be shared with mesh
This commit is contained in:
parent
7e954f5e56
commit
87df96d23f
6 changed files with 280 additions and 245 deletions
|
|
@ -728,6 +728,7 @@ function platformLoadFiles(files, group) {
|
|||
api.function.parse(e.target.result, 'gcode');
|
||||
load_dec();
|
||||
} else if (issvg) {
|
||||
group = group || [];
|
||||
let name = e.target.file.name;
|
||||
let svg = load.SVG.parse(e.target.result);
|
||||
let ind = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue