Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix invalid file paths causing unexpected behavior #975

Merged
merged 9 commits into from
Jun 4, 2024

Conversation

in1tiate
Copy link
Member

Before the layer refactor, invalid images would display a null pixmap. This restores that behavior.

@TrickyLeifa
Copy link
Contributor

TrickyLeifa commented May 26, 2024

If you want to display null pixmap, do a check in the appropriate part where you need it to display. Don't modify AnimationLoader that already knows how to deal with non-existing or invalid files.

@TrickyLeifa
Copy link
Contributor

What exactly required the null pixmap to function properly?

@in1tiate
Copy link
Member Author

Per outside discussion, rewrote this to simply hide the offending layer instead of loading a null pixmap.

@TrickyLeifa TrickyLeifa merged commit 7897033 into master Jun 4, 2024
3 checks passed
@TrickyLeifa TrickyLeifa deleted the null-pixmap-reg branch June 4, 2024 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants