Skip to content

Commit

Permalink
Editor: Fixed web-ifc.wasm path
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Jun 16, 2021
1 parent 8fd462d commit 2272eae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/js/Loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand Down

0 comments on commit 2272eae

Please sign in to comment.