diff --git a/packages/core/package.json b/packages/core/package.json index b16685d3..b59d833a 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,7 +1,7 @@ { "name": "@thatopen/components", "description": "Collection of core functionalities to author BIM apps.", - "version": "2.1.24", + "version": "2.1.25", "author": "That Open Company", "contributors": [ "Antonio Gonzalez Viegas (https://github.com/agviegas)", @@ -42,7 +42,7 @@ "@types/three": "0.160.0", "stats.js": "^0.17.0", "three": "^0.160.1", - "web-ifc": "0.0.56" + "web-ifc": "0.0.57" }, "dependencies": { "camera-controls": "2.7.3", @@ -51,6 +51,6 @@ "peerDependencies": { "@thatopen/fragments": "~2.1.0", "three": "^0.160.1", - "web-ifc": "0.0.56" + "web-ifc": "0.0.57" } -} \ No newline at end of file +} diff --git a/packages/core/src/core/Components/index.ts b/packages/core/src/core/Components/index.ts index 107293a8..d0f944a3 100644 --- a/packages/core/src/core/Components/index.ts +++ b/packages/core/src/core/Components/index.ts @@ -14,7 +14,7 @@ export class Components implements Disposable { /** * The version of the @thatopen/components library. */ - static readonly release = "2.1.24"; + static readonly release = "2.1.25"; /** {@link Disposable.onDisposed} */ readonly onDisposed = new Event(); diff --git a/packages/core/src/fragments/IfcLoader/index.ts b/packages/core/src/fragments/IfcLoader/index.ts index f1a0792e..810b7c61 100644 --- a/packages/core/src/fragments/IfcLoader/index.ts +++ b/packages/core/src/fragments/IfcLoader/index.ts @@ -71,11 +71,6 @@ export class IfcLoader extends Component implements Disposable { /** {@link Disposable.dispose} */ dispose() { - try { - this.webIfc.Dispose(); - } catch (e) { - // web-ifc couldn't be disposed - } (this.webIfc as any) = null; this.onDisposed.trigger(IfcLoader.uuid); this.onDisposed.reset(); @@ -206,7 +201,7 @@ export class IfcLoader extends Component implements Disposable { try { this.webIfc.Dispose(); } catch (e) { - // web-ifc couldn't be disposed + console.log("Web-ifc wasn't disposed."); } (this.webIfc as any) = null; // Clear the reference to the Web-IFC library this.webIfc = new WEBIFC.IfcAPI(); // Create a new instance of the Web-IFC library diff --git a/packages/front/package.json b/packages/front/package.json index 8ef40437..0a57d95d 100644 --- a/packages/front/package.json +++ b/packages/front/package.json @@ -1,7 +1,7 @@ { "name": "@thatopen/components-front", "description": "Collection of frontend tools to author BIM apps.", - "version": "2.1.26", + "version": "2.1.27", "author": "That Open Company", "contributors": [ "Antonio Gonzalez Viegas (https://github.com/agviegas)", @@ -35,7 +35,7 @@ "peerDependencies": { "@thatopen/fragments": "~2.1.0", "three": "^0.160.1", - "web-ifc": "0.0.56" + "web-ifc": "0.0.57" }, "devDependencies": { "@thatopen/fragments": "~2.1.0", @@ -44,7 +44,7 @@ "@types/earcut": "^2.1.4", "@types/three": "^0.160.0", "three": "^0.160.1", - "web-ifc": "0.0.56" + "web-ifc": "0.0.57" }, "dependencies": { "@thatopen/components": "~2.1.0", diff --git a/yarn.lock b/yarn.lock index 7e982d6d..c0fc421d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -633,11 +633,11 @@ __metadata: n8ao: 1.5.1 postprocessing: 6.34.2 three: ^0.160.1 - web-ifc: 0.0.56 + web-ifc: 0.0.57 peerDependencies: "@thatopen/fragments": ~2.1.0 three: ^0.160.1 - web-ifc: 0.0.56 + web-ifc: 0.0.57 languageName: unknown linkType: soft @@ -652,11 +652,11 @@ __metadata: stats.js: ^0.17.0 three: ^0.160.1 three-mesh-bvh: 0.7.0 - web-ifc: 0.0.56 + web-ifc: 0.0.57 peerDependencies: "@thatopen/fragments": ~2.1.0 three: ^0.160.1 - web-ifc: 0.0.56 + web-ifc: 0.0.57 languageName: unknown linkType: soft @@ -4285,10 +4285,10 @@ __metadata: languageName: node linkType: hard -"web-ifc@npm:0.0.56": - version: 0.0.56 - resolution: "web-ifc@npm:0.0.56" - checksum: 37c1479228ada56ffc903aaecfde351d368221b44576a29b9037000d171d46074c629db9c703adbc4e20fb0eaf3e8e23ff3c593a584ea275f75b5675682165c8 +"web-ifc@npm:0.0.57": + version: 0.0.57 + resolution: "web-ifc@npm:0.0.57" + checksum: b6735af53368003bce4761c235635275f641eaf943376be824f288118398383882e0806ea47a539729740be4b3fbb485d9ec9b3ff85fd41955cf3bad29d35cf4 languageName: node linkType: hard