File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @thatopen/components" ,
33 "description" : " Collection of core functionalities to author BIM apps." ,
4- "version" : " 3.1.3 " ,
4+ "version" : " 3.1.4 " ,
55 "author" : " That Open Company" ,
66 "contributors" : [
77 " Antonio Gonzalez Viegas (https://github.com/agviegas)" ,
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ const ifcLoader = components.get(OBC.IfcLoader);
6767await ifcLoader . setup ( {
6868 autoSetWasm : false ,
6969 wasm : {
70- path :
"https://unpkg.com/[email protected] .70 /" , 70+ path :
"https://unpkg.com/[email protected] .71 /" , 7171 absolute : true ,
7272 } ,
7373} ) ;
Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ export class IfcLoader extends Component implements Disposable {
122122 const serializer = new FRAGS . IfcImporter ( ) ;
123123 serializer . wasm . path = this . settings . wasm . path ;
124124 serializer . wasm . absolute = this . settings . wasm . absolute ;
125+ serializer . webIfcSettings = this . settings . webIfc ;
125126
126127 if ( config ?. instanceCallback ) config . instanceCallback ( serializer ) ;
127128
@@ -130,7 +131,7 @@ export class IfcLoader extends Component implements Disposable {
130131 bytes : data ,
131132 } ) ;
132133
133- const model = await fragments . core . load ( bytes , {
134+ const model = await fragments . core . load ( bytes as any , {
134135 modelId : name ,
135136 userData : config ?. userData ,
136137 } ) ;
You can’t perform that action at this time.
0 commit comments