mesh: add svg import to sketch, kiri: fix svg import multi obj
This commit is contained in:
parent
2efb9cfab8
commit
d8655a60a9
5 changed files with 30 additions and 20 deletions
|
|
@ -857,7 +857,7 @@ function platformLoadFiles(files, group) {
|
|||
let svg = load.SVG.parse(data.textDecode('utf-8'));
|
||||
let ind = 0;
|
||||
for (let v of svg) {
|
||||
platformLoadWidget(group, svg[ind], ind ? `${name}-${ind++}` : name);
|
||||
platformLoadWidget(group, svg[ind++], ind ? `${name}-${ind}` : name);
|
||||
}
|
||||
load_dec();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue