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 empty load errors popup #97013

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

Hilderin
Copy link
Contributor

This fixes a regression from #96830

I found this error while testing #97000 with a project using multiple scenes.

Depending on the timing when the io error occurs, the load errors popup could be visible when a scene is loaded.

After looking at it a bit, I found out that the parameter p_clear_errors in EditorProgress::load_scene was always passed as true. So, I refactor the load errors a bit. It was easier to clear the errors only when the popup is closed. That fixed the issue while removing a useless parameter.

@akien-mga akien-mga merged commit fc960cd into godotengine:master Sep 24, 2024
20 checks passed
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants