@xeokit/xeokit-sdk 2.4.0-alpha-65 → 2.4.0-alpha-66

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.
@@ -90810,6 +90810,12 @@ class MetaObject {
90810
90810
  */
90811
90811
  this.propertySets = [];
90812
90812
 
90813
+ /**
90814
+ * The attributes of this MetaObject.
90815
+ * @type {{}}
90816
+ */
90817
+ this.attributes = params.attributes || {};
90818
+
90813
90819
  // if (external !== undefined && external !== null) {
90814
90820
  //
90815
90821
  // /**
@@ -91113,18 +91119,19 @@ class MetaModel {
91113
91119
  if (metaModelData.metaObjects) {
91114
91120
  for (let i = 0, len = metaModelData.metaObjects.length; i < len; i++) {
91115
91121
  const metaObjectData = metaModelData.metaObjects[i];
91116
- const type = metaObjectData.type;
91117
- const id = metaObjectData.id;
91118
- const originalSystemId = metaObjectData.originalSystemId;
91119
- const propertySetIds = metaObjectData.propertySets || metaObjectData.propertySetIds;
91120
91122
  let metaObject = metaScene.metaObjects[id];
91121
91123
  if (!metaObject) {
91124
+ const type = metaObjectData.type;
91125
+ const id = metaObjectData.id;
91126
+ const originalSystemId = metaObjectData.originalSystemId;
91127
+ const propertySetIds = metaObjectData.propertySets || metaObjectData.propertySetIds;
91122
91128
  metaObject = new MetaObject({
91123
91129
  id,
91124
91130
  originalSystemId,
91125
91131
  parentId: metaObjectData.parent,
91126
91132
  type,
91127
91133
  name: metaObjectData.name,
91134
+ attributes: metaObjectData.attributes,
91128
91135
  propertySetIds
91129
91136
  });
91130
91137
  this.metaScene.metaObjects[id] = metaObject;
@@ -90806,6 +90806,12 @@ class MetaObject {
90806
90806
  */
90807
90807
  this.propertySets = [];
90808
90808
 
90809
+ /**
90810
+ * The attributes of this MetaObject.
90811
+ * @type {{}}
90812
+ */
90813
+ this.attributes = params.attributes || {};
90814
+
90809
90815
  // if (external !== undefined && external !== null) {
90810
90816
  //
90811
90817
  // /**
@@ -91109,18 +91115,19 @@ class MetaModel {
91109
91115
  if (metaModelData.metaObjects) {
91110
91116
  for (let i = 0, len = metaModelData.metaObjects.length; i < len; i++) {
91111
91117
  const metaObjectData = metaModelData.metaObjects[i];
91112
- const type = metaObjectData.type;
91113
- const id = metaObjectData.id;
91114
- const originalSystemId = metaObjectData.originalSystemId;
91115
- const propertySetIds = metaObjectData.propertySets || metaObjectData.propertySetIds;
91116
91118
  let metaObject = metaScene.metaObjects[id];
91117
91119
  if (!metaObject) {
91120
+ const type = metaObjectData.type;
91121
+ const id = metaObjectData.id;
91122
+ const originalSystemId = metaObjectData.originalSystemId;
91123
+ const propertySetIds = metaObjectData.propertySets || metaObjectData.propertySetIds;
91118
91124
  metaObject = new MetaObject({
91119
91125
  id,
91120
91126
  originalSystemId,
91121
91127
  parentId: metaObjectData.parent,
91122
91128
  type,
91123
91129
  name: metaObjectData.name,
91130
+ attributes: metaObjectData.attributes,
91124
91131
  propertySetIds
91125
91132
  });
91126
91133
  this.metaScene.metaObjects[id] = metaObject;