eurotools / eurochef

Rust crates and utilities for Eurocom EngineX(T) files.
MIT License
13 stars 2 forks source link

Indicate problems with textures/meshes #15

Open cohaereo opened 1 year ago

cohaereo commented 1 year ago

Option 1 (in your face) image

Option 2 (subtler, but leaves a pointless black void) image

Might also go for red instead of yellow since it's usually related to screwed up imports. Additionally, these tiles will have a tooltip describing the exact reason

cohaereo commented 1 year ago

Probably going for option 2 since it's off centered and looks more out of place. Additionally we'll also add a checkbox filter to filter out failed meshes, but have them shown by default

cohaereo commented 1 year ago

Extending this issue to include textures and fatal errors. I'm experimenting with an IdentifiableResult type that allows us to have a result that contains a hashcode no matter the result's variant.

Errors during read should result in a red icon, and replace the tooltip with the error's description. Non-fatal issues should be represented with a yellow triangle, and the warnings should be appended to the existing tooltip

image