Skip to content

Commit

Permalink
Merge pull request #1106 from Kurtil/patch-15
Browse files Browse the repository at this point in the history
Fix MetaScene.js - metaObject is undefined
  • Loading branch information
xeolabs authored Jul 19, 2023
2 parents d36dce6 + 43294c4 commit 3bc8175
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/viewer/metadata/MetaScene.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,8 @@ class MetaScene {
metaObjectData.originalSystemId = metaObjectData.id;
metaObjectData.originalParentSystemId = metaObjectData.parent;
if (globalize) {
metaObjectData.id = math.globalizeObjectId(modelId, metaObject.id);
metaObjectData.parent = math.globalizeObjectId(modelId, metaObject.parent);
metaObjectData.id = math.globalizeObjectId(modelId, metaObjectData.id);
metaObjectData.parent = math.globalizeObjectId(modelId, metaObjectData.parent);
}

// Globalize MetaObject property set IDs
Expand Down Expand Up @@ -479,4 +479,4 @@ function arrayToMap(array) {
return map;
}

export {MetaScene};
export {MetaScene};

0 comments on commit 3bc8175

Please sign in to comment.