Skip to content

Commit

Permalink
XCD-223: Adapt the change of metaModels from array to object
Browse files Browse the repository at this point in the history
  • Loading branch information
ijlal99 committed Dec 17, 2024
1 parent e4e4bcf commit c153cb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/viewer/metadata/MetaScene.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,8 @@ class MetaScene {

for (let modelId in this.metaModels) {
const metaModel = this.metaModels[modelId];
for (let i = 0, len = metaModel.metaObjects.length; i < len; i++) {
const metaObject = metaModel.metaObjects[i];
for (let objectId in metaModel.metaObjects) {
const metaObject = metaModel.metaObjects[objectId];
metaObject.metaModels.push(metaModel);
}
}
Expand Down

0 comments on commit c153cb2

Please sign in to comment.