Skip to content

Commit 9e8cb41

Browse files
committed
fix(core): use customLocateHandler in IfcLoader
1 parent 845e695 commit 9e8cb41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/core/src/fragments/IfcLoader

packages/core/src/fragments/IfcLoader/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export class IfcLoader extends Component implements Disposable {
177177
async readIfcFile(data: Uint8Array) {
178178
const { path, absolute, logLevel } = this.settings.wasm;
179179
this.webIfc.SetWasmPath(path, absolute);
180-
await this.webIfc.Init();
180+
await this.webIfc.Init(this.settings.customLocateFileHandler || undefined);
181181
if (logLevel) {
182182
this.webIfc.SetLogLevel(logLevel);
183183
}

0 commit comments

Comments
 (0)