@xeokit/xeokit-sdk 2.6.0-beta-4 → 2.6.0-beta-5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xeokit/xeokit-sdk",
3
- "version": "2.6.0-beta-4",
3
+ "version": "2.6.0-beta-5",
4
4
  "description": "Web Programming Toolkit for 3D/2D BIM and AEC Graphics",
5
5
  "module": "./dist/xeokit-sdk.es.js",
6
6
  "main": "./dist/xeokit-sdk.cjs.js",
@@ -178,6 +178,9 @@ class MetaModel {
178
178
  if (metaModelData.propertySets) {
179
179
  for (let i = 0, len = metaModelData.propertySets.length; i < len; i++) {
180
180
  const propertySetData = metaModelData.propertySets[i];
181
+ if (!propertySetData.properties) { // HACK: https://github.com/Creoox/creoox-ifc2gltfcxconverter/issues/8
182
+ propertySetData.properties = [];
183
+ }
181
184
  let propertySet = metaScene.propertySets[propertySetData.id];
182
185
  if (!propertySet) {
183
186
  if (propertyLookup) {