Fix model import error message in web app

This commit is contained in:
JannisX11 2022-10-15 17:33:56 +02:00
parent f27c2602c7
commit 24ca7c1a9c
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ class Codec {
}, 200)
}
this.parse(model, file.path)
loadDataFromModelMemory();
if (isApp) loadDataFromModelMemory();
}
//parse(model, path)

View File

@ -925,7 +925,7 @@ var codec = new Codec('bedrock', {
}, 200)
}
this.parse(model, file.path)
loadDataFromModelMemory();
if (isApp) loadDataFromModelMemory();
},
compile(options) {
if (options === undefined) options = {}