Build fix.
This commit is contained in:
parent
c042fa26b6
commit
f365fc4fbd
@ -80,6 +80,7 @@ OV.ThreeImporter = class extends OV.ImporterBase
|
|||||||
this.OnThreeObjectsLoaded (loadedScene, onFinish);
|
this.OnThreeObjectsLoaded (loadedScene, onFinish);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const mainFileUrl = OV.CreateObjectUrl (fileContent);
|
||||||
loadingManager.setURLModifier ((url) => {
|
loadingManager.setURLModifier ((url) => {
|
||||||
if (url === mainFileUrl) {
|
if (url === mainFileUrl) {
|
||||||
return url;
|
return url;
|
||||||
@ -92,7 +93,6 @@ OV.ThreeImporter = class extends OV.ImporterBase
|
|||||||
return fileUrl;
|
return fileUrl;
|
||||||
});
|
});
|
||||||
|
|
||||||
const mainFileUrl = OV.CreateObjectUrl (fileContent);
|
|
||||||
const loader = this.CreateLoader (loadingManager);
|
const loader = this.CreateLoader (loadingManager);
|
||||||
if (loader === null) {
|
if (loader === null) {
|
||||||
onFinish ();
|
onFinish ();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user