diff --git a/src/renderer/editor/assets/materials.tsx b/src/renderer/editor/assets/materials.tsx index 44b7b1fe4..3be8d5575 100644 --- a/src/renderer/editor/assets/materials.tsx +++ b/src/renderer/editor/assets/materials.tsx @@ -90,6 +90,8 @@ export class MaterialAssets extends AbstractAssets { public async refresh(): Promise { this._updateSourcesWatchers(); + this.items = []; + for (const material of this.editor.scene!.materials) { const editorPath = material.metadata?.editorPath; if (!editorPath) {