Skip to content

Commit

Permalink
Fix rootnames showing as na in TreeViewPlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ijlal99 committed Oct 18, 2024
1 parent 697e26b commit 07a4c71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/viewer/metadata/MetaModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,8 @@ class MetaModel {

for (let modelId in metaScene.metaModels) {
const metaModel = metaScene.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 07a4c71

Please sign in to comment.