Skip to content

Commit

Permalink
Merge pull request #1120 from xeokit/fix-pset-origsysid
Browse files Browse the repository at this point in the history
Fix pset originalSystemId
  • Loading branch information
xeolabs authored Aug 8, 2023
2 parents 12a8265 + c088e62 commit 20a8a5f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/viewer/metadata/MetaScene.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,13 @@ class MetaScene {
const metaObjectData = metaModelData.metaObjects[i];
const type = metaObjectData.type;
const id = metaObjectData.id;
const originalSystemId = metaObjectData.originalSystemId;
const propertySetIds = metaObjectData.propertySets || metaObjectData.propertySetIds;
let metaObject = this.metaObjects[id];
if (!metaObject) {
metaObject = new MetaObject({
id,
originalSystemId,
parentId: metaObjectData.parent,
type,
name: metaObjectData.name,
Expand Down

0 comments on commit 20a8a5f

Please sign in to comment.