mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-20 12:29:39 +00:00
## Summary The Load3d select-model widget was passing the raw .glb URL as the item preview_url, which browsers can't render as an image, producing the broken-image icon on cloud/local asset-enabled servers. Resolve thumbnails lazily from the asset API using the preview_id link (matching Media3DTop's behavior), look up by basename to stay consistent with the write path in useLoad3d, and fall back to a 3D-box placeholder when no preview exists yet. ## Screenshots before <img width="1112" height="1333" alt="image" src="https://github.com/user-attachments/assets/a8fa88ad-ab82-4951-be03-d28111322e30" /> after with asset-enable on BE https://github.com/user-attachments/assets/34b416af-5729-4ad0-bf17-722461ffc659 without asset-enable on BE <img width="1026" height="1201" alt="image" src="https://github.com/user-attachments/assets/71fd463f-ca77-4d63-85ed-01261d032d53" /> ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-11538-fix-resolve-mesh-widget-thumbnails-via-asset-preview-API-34a6d73d365081d2aefac044dab0dfc3) by [Unito](https://www.unito.io)