Skip to content

Commit

Permalink
fix(core): use customLocateHandler in IfcLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
agviegas committed Aug 5, 2024
1 parent 845e695 commit 9e8cb41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/fragments/IfcLoader/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export class IfcLoader extends Component implements Disposable {
async readIfcFile(data: Uint8Array) {
const { path, absolute, logLevel } = this.settings.wasm;
this.webIfc.SetWasmPath(path, absolute);
await this.webIfc.Init();
await this.webIfc.Init(this.settings.customLocateFileHandler || undefined);
if (logLevel) {
this.webIfc.SetLogLevel(logLevel);
}
Expand Down

0 comments on commit 9e8cb41

Please sign in to comment.