()
| 3666 | |
| 3667 | try { |
| 3668 | // Get all thumbnails for the model |
| 3669 | const allThumbnails = await window.electron.getAllThumbnails(filePath); |
| 3670 | |
| 3671 | // Filter out invalid thumbnails (3d.png and non-data URLs) |
| 3672 | const validThumbnails = allThumbnails.filter(t => |
| 3673 | t && t !== '3d.png' && t.length > 0 && t.startsWith('data:image') |
| 3674 | ); |
| 3675 |