Skip to content

Commit

Permalink
Editor: Remove IFC support (#28108)
Browse files Browse the repository at this point in the history
  • Loading branch information
harryhjsh committed Apr 10, 2024
1 parent ce75622 commit 1832e7f
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions editor/js/Loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -376,29 +376,6 @@ function Loader( editor ) {

}

case 'ifc':

{

reader.addEventListener( 'load', async function ( event ) {

const { IFCLoader } = await import( 'three/addons/loaders/IFCLoader.js' );

var loader = new IFCLoader();
loader.ifcManager.setWasmPath( 'three/addons/loaders/ifc/' );

const model = await loader.parse( event.target.result );
model.mesh.name = filename;

editor.execute( new AddObjectCommand( editor, model.mesh ) );

}, false );
reader.readAsArrayBuffer( file );

break;

}

case 'kmz':

{
Expand Down

0 comments on commit 1832e7f

Please sign in to comment.