diff --git a/packages/frontend-2/lib/viewer/composables/setup.ts b/packages/frontend-2/lib/viewer/composables/setup.ts index a88a39013..453b7be22 100644 --- a/packages/frontend-2/lib/viewer/composables/setup.ts +++ b/packages/frontend-2/lib/viewer/composables/setup.ts @@ -616,8 +616,9 @@ function setupResponseResourceItems( const modelId = item.modelId const objectId = item.objectId - // In case we want to go back to 1 resource per model: - // if (modelId && encounteredModels.has(modelId)) continue + // Uncommenting the following line resolved model duplication issues in the Model Panel + // without affecting diffing functionality. If future diffing problems arise, revisit this. + if (modelId && encounteredModels.has(modelId)) continue if (encounteredObjects.has(objectId)) continue finalItems.push(item)