bluescan / tacentview

An image and texture viewer for tga, png, apng, exr, dds, pvr, ktx, ktx2, astc, pkm, qoi, gif, hdr, jpg, tif, ico, webp, and bmp files. Uses Dear ImGui, OpenGL, and Tacent. Useful for game devs as it displays information like the presence of an alpha channel and querying specific pixels for their colour.
ISC License
339 stars 33 forks source link

[Bug] CLI args broken in Linux #94

Closed ClangPan closed 1 year ago

ClangPan commented 1 year ago

Hello, Not sure since how long it happened, but CLI arguments do not work anymore on Linux, also meaning you can't open images by file association.

I think it's due to the variable CurrImageFile not being set, which always makes it fall back to the last used picture instead of the selected one, since setting it like on the Windows side works.

I would make a PR for this, but I feel like it would just make things more complicated on your end x)

bluescan commented 1 year ago

Thanks Frousties. That was exactly the issue. Fixed in da4acd0ee5dfca7d3ac18e28627a569e977aed33 (The issue was only recently introduced while prepping for more commandline options. It was not present in the last official release).