From 2272eaecf181ab2486392a4cb8e7f77b8cab72ad Mon Sep 17 00:00:00 2001 From: "Mr.doob" Date: Wed, 16 Jun 2021 13:40:22 +0200 Subject: [PATCH] Editor: Fixed web-ifc.wasm path --- editor/js/Loader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/js/Loader.js b/editor/js/Loader.js index a85f3a355e6596..ca5ed292b6ceb0 100644 --- a/editor/js/Loader.js +++ b/editor/js/Loader.js @@ -354,7 +354,7 @@ function Loader( editor ) { var { IFCLoader } = await import( '../../examples/jsm/loaders/IFCLoader.js' ); var loader = new IFCLoader(); - loader.setWasmPath( 'examples/jsm/loaders/ifc/' ); + loader.setWasmPath( '../../examples/jsm/loaders/ifc/' ); var scene = await loader.parse( event.target.result );