Facepunch / sbox-issues

177 stars 12 forks source link

TGAs aren't previewing in the asset inspector #4498

Closed MD485 closed 5 months ago

MD485 commented 10 months ago

Describe the bug

Tga files show up fine in item view but they don't show up in the inspector preview.

To Reproduce

  1. Import a tga file
  2. Inspect it in the inspector
  3. Look at the preview

Expected behavior

You should be able to see a preview of the tga file in the preview window.

Media/Files

image image image image

Additional context

It seems to work fine for pngs and textures which have the tga applied, but it doesn't seem to work for tgas.

aylaylay commented 5 months ago

Done

https://github.com/Facepunch/sbox-issues/assets/1667289/039dfc45-bb57-4275-8c0f-14a6e0f25b81