opensourceBIM / BIMsurfer

The latest version of the BIM Surfer WebGL viewer for IFC
MIT License
384 stars 132 forks source link

Property density undefined #39

Open andermy opened 5 years ago

andermy commented 5 years ago

I got bimserver running with bimviw installed. Also got a seperate angular service running with the latest bimsurfer cloned and imported. For some IFC- files this works great, but for other I get this issue "Cannot set property 'density' of undefined". The same models works however fine in the bimvie installation.

In the picture attached, you can view the console (chrome). Any idea of where to look?

Skjermbilde

It seems like the object variable in the "geometryloader.js" is undefined.

rubendel commented 5 years ago

When you use the latest git version of the surfer, make sure you also use the latest git versions of BIMserver and plugins. That being said, last week I added line renderings to the protocol, but didn't test it with line renders disabled, it could well be the cause of the error you got. That's fixed now.

andermy commented 5 years ago

Thanks. Went back to "bimsurfer3-0.0.239" and this worked well!