fix widget replace
This commit is contained in:
parent
35660d39cf
commit
d7f13754c8
2 changed files with 2 additions and 2 deletions
|
|
@ -63,7 +63,7 @@ function replace(vertices, sel) {
|
|||
} else {
|
||||
// dialog
|
||||
$('load-file').onchange = function(event) {
|
||||
load.File.load(event.target.files[0])
|
||||
load(event.target.files[0])
|
||||
.then(data => onload(data[0].mesh))
|
||||
.catch(error => console.log({error}));
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue